https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a5365194f4b7f85ab0b3e…
commit a5365194f4b7f85ab0b3e086ad2e25a9e9b29694
Author: Joachim Henze <Joachim.Henze(a)reactos.org>
AuthorDate: Tue Jul 13 07:38:45 2021 +0200
Commit: Joachim Henze <Joachim.Henze(a)reactos.org>
CommitDate: Tue Jul 13 07:38:45 2021 +0200
[COMCTL32] Listview: Only apply horizontal offset when setting header position
CORE-17674
This imports
Wine commit
https://github.com/wine-mirror/wine/commit/d92906249fd4abd75d5d2ee2fba96685…
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
Thanks to Doug Lyons who picked the fix for us from Wine 6.0
It fixes for us CORE-17674 "Corruption of the listview header"
which regressed by 0.4.14-dev-150-g 00f14ee1f22a1c285462459f859fa17c90ccc19f
when we synced to Wine Staging 4.18
Testbot results of the patch:
KVM
https://reactos.org/testman/compare.php?ids=78225,78270 LGTM
VBox
https://reactos.org/testman/compare.php?ids=78226,78271 LGTM
I intend to port this back into 0.4.14RC94 also, so no official reactos release
will ever be affected by it.
---
dll/win32/comctl32/listview.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/dll/win32/comctl32/listview.c b/dll/win32/comctl32/listview.c
index 4119c27a90a..2052b66e6a9 100644
--- a/dll/win32/comctl32/listview.c
+++ b/dll/win32/comctl32/listview.c
@@ -11253,7 +11253,6 @@ static void LISTVIEW_UpdateSize(LISTVIEW_INFO *infoPtr)
rect = infoPtr->rcList;
rect.left += origin.x;
- rect.top += origin.y;
hl.prc = ▭
hl.pwpos = ℘