comctl32: Explicity set the number of tics before testing tic placement

James Hawkins jhawkins at codeweavers.com
Fri Jul 11 19:37:21 CDT 2008


Hi,

I assume that the test trackbar window used to have at least 6 tics,
but that's not the case anymore, and the placement tests shouldn't
rely on the modified status of the trackbar window from previous
tests.  The tests just happened to pass in Windows because of a fluke.
 Should fix a few valgrind warnings.

Changelog:
* Explicity set the number of tics before testing tic placement.

 dlls/comctl32/tests/trackbar.c |   39 +++++++++++++++++++++------------------
 1 files changed, 21 insertions(+), 18 deletions(-)

-- 
James Hawkins
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Explicity-set-the-number-of-tics-before-testing-tic.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080711/494925b7/attachment.txt 


More information about the wine-patches mailing list