comctl32: Properly initialize internal structures.
This commit is contained in:
parent
d71f5c9483
commit
c1157b79fd
|
@ -9423,6 +9423,7 @@ static LRESULT LISTVIEW_Create(HWND hwnd, const CREATESTRUCTW *lpcs)
|
|||
|
||||
/* init item size to avoid division by 0 */
|
||||
LISTVIEW_UpdateItemSize (infoPtr);
|
||||
LISTVIEW_UpdateSize (infoPtr);
|
||||
|
||||
if (infoPtr->uView == LV_VIEW_DETAILS)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue