comctl32: Properly initialize internal structures.

This commit is contained in:
Daniel Jelinski 2012-11-26 21:39:01 +01:00 committed by Alexandre Julliard
parent d71f5c9483
commit c1157b79fd

View file

@ -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)
{