From c1157b79fd2d3963e02020cbcc0c8d02c709938c Mon Sep 17 00:00:00 2001 From: Daniel Jelinski Date: Mon, 26 Nov 2012 21:39:01 +0100 Subject: [PATCH] comctl32: Properly initialize internal structures. --- dlls/comctl32/listview.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index d8d11cab7d0..4bac508f436 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -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) {