Mark Harmstone hellas@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.