[PATCH 1/2] user32: Fix 'SB_VERT' copypasta in LISTBOX_HandleHScroll().
Serge Gautherie
winehq-git_serge_180711 at gautherie.fr
Wed May 20 14:14:35 CDT 2020
Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
---
Upstreaming
https://github.com/reactos/reactos/pull/2152
https://git.reactos.org/?p=reactos.git;a=commit;h=ad591d02692217b537ee137d3eff6c1a86e29c1b
Please, double-check that this is correct.
---
dlls/user32/listbox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/user32/listbox.c b/dlls/user32/listbox.c
index 65b052e..09111bc 100644
--- a/dlls/user32/listbox.c
+++ b/dlls/user32/listbox.c
@@ -2034,7 +2034,7 @@ static LRESULT LISTBOX_HandleHScroll( LB_DESCR *descr, WORD scrollReq, WORD pos
case SB_THUMBTRACK:
info.cbSize = sizeof(info);
info.fMask = SIF_TRACKPOS;
- GetScrollInfo( descr->self, SB_VERT, &info );
+ GetScrollInfo( descr->self, SB_HORZ, &info );
LISTBOX_SetTopItem( descr, info.nTrackPos*descr->page_size,
TRUE );
break;
--
2.10.0.windows.1
More information about the wine-devel
mailing list