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:
Gabriel Ivăncescu 2019-02-07 15:12:23 +02:00 committed by Alexandre Julliard
parent ff87384048
commit 77cba36331
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}