Commit 0506c341 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

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

parent e9ee629d
......@@ -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 (;;)
{
......
......@@ -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 (;;)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment