user32: Increase an initial buffer size from 32 to 128 hwnds for enumerated children.

This commit is contained in:
Dmitry Timoshkov 2008-03-20 23:26:10 +08:00 committed by Alexandre Julliard
parent e9ee629da4
commit 0506c341ac
2 changed files with 2 additions and 2 deletions

View file

@ -215,7 +215,7 @@ static WND *free_window_handle( HWND hwnd )
static HWND *list_window_children( HDESK desktop, HWND hwnd, LPCWSTR class, DWORD tid )
{
HWND *list;
int size = 32;
int size = 128;
for (;;)
{

View file

@ -259,7 +259,7 @@ BOOL WINAPI ScreenToClient( HWND hwnd, LPPOINT lppnt )
static HWND *list_children_from_point( HWND hwnd, POINT pt )
{
HWND *list;
int size = 32;
int size = 128;
for (;;)
{