=?UTF-8?Q?Gabriel=20Iv=C4=83ncescu=20?=: user32/listbox: Don' t try to paint non-visible items for multi-column listboxes.
Alexandre Julliard
julliard at winehq.org
Thu May 30 16:27:13 CDT 2019
Module: wine
Branch: master
Commit: f748d6794d69677d45d34cda185114c588472009
URL: https://source.winehq.org/git/wine.git/?a=commit;h=f748d6794d69677d45d34cda185114c588472009
Author: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Date: Thu May 30 13:42:19 2019 +0300
user32/listbox: Don't try to paint non-visible items for multi-column listboxes.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/listbox.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/user32/listbox.c b/dlls/user32/listbox.c
index 95621b8..52f01a7 100644
--- a/dlls/user32/listbox.c
+++ b/dlls/user32/listbox.c
@@ -1191,6 +1191,7 @@ static LRESULT LISTBOX_Paint( LB_DESCR *descr, HDC hdc )
rect.right += descr->column_width;
rect.top = 0;
col_pos = descr->page_size - 1;
+ if (rect.left >= descr->width) break;
}
else
{
More information about the wine-cvs
mailing list