From 4d526ad35aae3e637aa3fd9f5042196120e456a2 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 3 Feb 2010 12:23:24 +0100 Subject: [PATCH] updated for version 7.2.352 Problem: Win64: Vim doesn't work when cross-compiled with MingW libraries. Solution: Always return TRUE for the WM_NCCREATE message. (Andy Kittner) --- src/gui_w48.c | 10 ++++++++-- src/version.c | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/gui_w48.c b/src/gui_w48.c index 123584bb1..40af60fa9 100644 --- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -1084,9 +1084,15 @@ _TextAreaWndProc( case WM_NOTIFY: Handle_WM_Notify(hwnd, (LPNMHDR)lParam); return TRUE; #endif + /* Workaround for the problem that MyWindowProc() returns FALSE on 64 + * bit windows when cross-compiled using Mingw libraries. (Andy + * Kittner) */ + case WM_NCCREATE: + MyWindowProc(hwnd, uMsg, wParam, lParam); + return TRUE; - default: - return MyWindowProc(hwnd, uMsg, wParam, lParam); + default: + return MyWindowProc(hwnd, uMsg, wParam, lParam); } } diff --git a/src/version.c b/src/version.c index a2bc904d1..a823253bc 100644 --- a/src/version.c +++ b/src/version.c @@ -681,6 +681,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 352, /**/ 351, /**/ -- 2.50.1