Clean-up of scroll.c (1/4)

Alexandre Julliard julliard at winehq.com
Fri Feb 28 12:29:30 CST 2003


"Andrew M. Johnston" <johnstonam at logica.com> writes:

> Note the code as in this area CVS seems to have a bug.  In the case of a zero 
> infoPtr it zeros the return pointers not the return value as I am sure is 
> intended.  A patch like the one below shown the likely intended code.

Yes that's definitely what was intended. Though note that even with
that fix the implementation is still not right, most of the GetScroll*
functions should be sending messages to the window for the SB_CTL case
instead of accessing the data structure directly.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list