[PATCH v8 0/1] MR3392: comctl32/listview: Reset bNoItemMetrics to TRUE to make sure that listview items can be arranged correctly..
Same as MR !2394 Signed-off-by: Zhao Yi zhaoyi(a)uniontech.com -- v8: comctl32/listview: Reset bNoItemMetrics to TRUE to make sure that listview items can be arranged correctly. https://gitlab.winehq.org/wine/wine/-/merge_requests/3392
From: Zhao Yi <zhaoyi(a)uniontech.com> Signed-off-by: Zhao Yi <zhaoyi(a)uniontech.com> --- dlls/comctl32/listview.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index 750e447dbef..7972be9669d 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -5590,6 +5590,7 @@ static BOOL LISTVIEW_DeleteAllItems(LISTVIEW_INFO *infoPtr, BOOL destroy) LISTVIEW_UpdateScroll(infoPtr); } LISTVIEW_InvalidateList(infoPtr); + infoPtr->bNoItemMetrics = TRUE; return TRUE; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3392
This merge request was approved by Zhiyi Zhang. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3392
The commit message subject can probably be improved but I am not going to hold this commit any longer because of that. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3392#note_40597
On Mon Jul 31 02:01:00 2023 +0000, Nikolay Sivov wrote:
Commit message needs to describe the purpose of the change, not to duplicate what's obviously seen from the change itself. @nsivov
Hi Nikolay, I have modified the commit message, please review it again. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3392#note_40707
This merge request was approved by Nikolay Sivov. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3392
participants (4)
-
Nikolay Sivov (@nsivov) -
Zhao Yi -
Zhao Yi (@Zhaoyi) -
Zhiyi Zhang (@zhiyi)