Signed-off-by: Serge Gautherie winehq-git_serge_180711@gautherie.fr --- Upstreaming https://github.com/reactos/reactos/pull/2152 https://git.reactos.org/?p=reactos.git;a=commit;h=ad591d02692217b537ee137d3e... 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;
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=72040
Your paranoid android.
=== debiant (32 bit Chinese:China report) ===
user32: clipboard.c:833: Test failed: 5: gle 5 clipboard.c:838: Test failed: 5.0: got 0000 instead of 0002 clipboard.c:868: Test failed: 5: gle 1418
Were you able to reproduce this issue in wine? If yes, please file a bug report and attach or link test application there.
I tried simple multi-column case, and it seems to scroll fine here, no matter VERT/HORZ is used.