mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 15:17:35 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue