changeset 14907:497009f367ea v8.1.0465

patch 8.1.0465: client-server test fails commit https://github.com/vim/vim/commit/95ba5c364f097121b95879896b05ec737ecafd1c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 7 22:47:07 2018 +0200 patch 8.1.0465: client-server test fails Problem: Client-server test fails. Solution: Change logic in EnumWindows().
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 Oct 2018 23:00:05 +0200
parents 781a9d721feb
children 2c102d67a1f0
files src/os_mswin.c src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -2343,8 +2343,8 @@ enum_windows_toplevel(HWND hwnd, LPARAM 
 {
     struct enum_windows_s *ew = (struct enum_windows_s *)lParam;
 
-    if ((ew->lpEnumFunc)(hwnd, ew->lParam) == FALSE)
-	return FALSE;
+    if ((ew->lpEnumFunc)(hwnd, ew->lParam))
+	return TRUE;
     return EnumChildWindows(hwnd, enum_windows_child, lParam);
 }
 
--- a/src/version.c
+++ b/src/version.c
@@ -793,6 +793,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    465,
+/**/
     464,
 /**/
     463,