Commit 77cba363 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

comctl32/listbox: Return proper value for LB_INITSTORAGE.

parent ff873840
......@@ -709,7 +709,7 @@ static LRESULT LISTBOX_InitStorage( LB_DESCR *descr, INT nb_items )
if (new_size > descr->items_size && !resize_storage(descr, new_size))
return LB_ERRSPACE;
return LB_OKAY;
return descr->items_size;
}
......
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