Module: wine Branch: master Commit: c1157b79fd2d3963e02020cbcc0c8d02c709938c URL: http://source.winehq.org/git/wine.git/?a=commit;h=c1157b79fd2d3963e02020cbcc...
Author: Daniel Jelinski djelinski1@gmail.com Date: Mon Nov 26 21:39:01 2012 +0100
comctl32: Properly initialize internal structures.
---
dlls/comctl32/listview.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index d8d11ca..4bac508 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) {