summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-10-07 22:47:07 +0200
committerBram Moolenaar <Bram@vim.org>2018-10-07 22:47:07 +0200
commit95ba5c364f097121b95879896b05ec737ecafd1c (patch)
treedbab854c704477c85785d2a4341625d5ac226744
parent1df2fa47b49dae568af6048b1dce1edbf4eee7e7 (diff)
patch 8.1.0465: client-server test failsv8.1.0465
Problem: Client-server test fails. Solution: Change logic in EnumWindows().
-rw-r--r--src/os_mswin.c4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index bd38e9d3f1..9767a5b077 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -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);
}
diff --git a/src/version.c b/src/version.c
index 8da8e7132c..9f4991aa66 100644
--- 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,