[NTUSER] Scrollbar.c, improve co_IntSetScrollInfo() CORE-17769
authorJoachim Henze <Joachim.Henze@reactos.org>
Sun, 19 Sep 2021 20:35:37 +0000 (22:35 +0200)
committerJoachim Henze <Joachim.Henze@reactos.org>
Sun, 19 Sep 2021 20:35:37 +0000 (22:35 +0200)
commitdda9c3979e87223b66e61f0f936f46920221e509
treeb4cf2d4758b91c44328ab83209f6957bf9436b8e
parent40ee59d609a4597e904888a2242e318aba6cab81
[NTUSER] Scrollbar.c, improve co_IntSetScrollInfo() CORE-17769

Fixes CORE-17769 'Rapps Listview manual resize may erroneously not draw the triangles sometimes'
This could happen for both: themed and unthemed.

CORE-17769 was a regression introduced by 0.4.14-dev-1134-g 00adb1a3f967ac7f5cd56b4c39df72a7b3814603

We don't really like the added state in form of the static variables,
but the patch works good from a pure testing-perspective.

Many Thanks to the patches author: Doug Lyons
win32ss/user/ntuser/scrollbar.c