mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
`co_IntGetScrollBarInfo()` computed the `rgstate` bits into the output buffer and then immediately overwrote them with the cached copy, so callers always got stale state. Fix this by copying the cached info before computing `rgstate`. This also exposed an inverted `WS_DISABLED` test (per wine, disabled `SB_CTL` should report `UNAVAILABLE`, not enabled ones), which is now fixed as well.