EnumChildWindows should return result from the callback [Bug: 3928]

Vitaliy Margolen wine-patch at kievinfo.com
Mon Nov 28 10:22:08 CST 2005


ChangeLog:
EnumChildWindows should return result from the callback [Bug: 3928]

 dlls/user/win.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
-------------- next part --------------
b6c958e6196b45ce850229a3bd02610b1bb1311e
diff --git a/dlls/user/win.c b/dlls/user/win.c
index a12416f..dbdb7e5 100644
--- a/dlls/user/win.c
+++ b/dlls/user/win.c
@@ -2836,13 +2836,14 @@ static BOOL WIN_EnumChildWindows( HWND *
 BOOL WINAPI EnumChildWindows( HWND parent, WNDENUMPROC func, LPARAM lParam )
 {
     HWND *list;
+    BOOL ret;
 
     USER_CheckNotLock();
 
     if (!(list = WIN_ListChildren( parent ))) return FALSE;
-    WIN_EnumChildWindows( list, func, lParam );
+    ret = WIN_EnumChildWindows( list, func, lParam );
     HeapFree( GetProcessHeap(), 0, list );
-    return TRUE;
+    return ret;
 }
 
 


More information about the wine-patches mailing list