Fixed typo in EnumThreadWindows.
This commit is contained in:
parent
54ba29acf0
commit
4f716155fc
|
@ -38,7 +38,6 @@
|
|||
#include "hook.h"
|
||||
#include "message.h"
|
||||
#include "queue.h"
|
||||
#include "task.h"
|
||||
#include "winpos.h"
|
||||
#include "winerror.h"
|
||||
#include "stackframe.h"
|
||||
|
@ -2976,8 +2975,7 @@ BOOL WINAPI EnumThreadWindows( DWORD id, WNDENUMPROC func, LPARAM lParam )
|
|||
HWND *list;
|
||||
int i, iWndsLocks;
|
||||
|
||||
if (!(list = list_window_children( GetDesktopWindow(), 0, GetCurrentThreadId() )))
|
||||
return TRUE ;
|
||||
if (!(list = list_window_children( GetDesktopWindow(), 0, id ))) return TRUE;
|
||||
|
||||
/* Now call the callback function for every window */
|
||||
|
||||
|
|
Loading…
Reference in New Issue