[PATCH] user32: Merge SCROLL_DrawInterior and SCROLL_DrawInterior_9x.

Alexandre Julliard julliard at winehq.org
Wed Mar 11 09:20:19 CDT 2015

Mark Harmstone <hellas at burntcomma.com> writes:

> The scrollbar-drawing code in user32 contains two nearly-identical functions,
> SCROLL_DrawInterior and SCROLL_DrawInterior_9x, the latter of which is only
> called when drawing a moving thumb. This patch cleans up the code by merging
> them into one function.

It's not really cleaner with the extra boolean and the reentrant calls
to the same function. You probably want to restructure it some more.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list