]> granicus.if.org Git - vim/commitdiff
patch 8.1.0465: client-server test fails v8.1.0465
authorBram Moolenaar <Bram@vim.org>
Sun, 7 Oct 2018 20:47:07 +0000 (22:47 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 7 Oct 2018 20:47:07 +0000 (22:47 +0200)
Problem:    Client-server test fails.
Solution:   Change logic in EnumWindows().

src/os_mswin.c
src/version.c

index bd38e9d3f1c249e9895ab2b735984e68276bef6d..9767a5b0771ab16aa2a348796074ce08c519631e 100644 (file)
@@ -2343,8 +2343,8 @@ enum_windows_toplevel(HWND hwnd, LPARAM 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);
 }
 
index 8da8e7132c703f3ca28ff2f17ab50cc4b5120ce3..9f4991aa663146da72e489092c6dde5ac9b15780 100644 (file)
@@ -792,6 +792,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    465,
 /**/
     464,
 /**/