summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
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 /src/os_mswin.c
parent1df2fa47b49dae568af6048b1dce1edbf4eee7e7 (diff)
downloadvim-git-95ba5c364f097121b95879896b05ec737ecafd1c.tar.gz
patch 8.1.0465: client-server test failsv8.1.0465
Problem: Client-server test fails. Solution: Change logic in EnumWindows().
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index bd38e9d3f..9767a5b07 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);
}