comctl32/listbox: Return proper value for LB_INITSTORAGE.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ff87384048
commit
77cba36331
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue