comctl32/trackbar: Protect from negative tic count in recalculation helper.
commit0f670168e4b52b974cf4df4bbfdaef8442ea8cea
authorNikolay Sivov <bunglehead@gmail.com>
Thu, 17 Sep 2009 22:18:48 +0000 (18 02:18 +0400)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 18 Sep 2009 13:56:09 +0000 (18 08:56 -0500)
treefb3568343594f45a8fa810ac7472f1065e396d8a
parent891d7629fdf1ecb1a674c4a677391d3ee78d91f0
comctl32/trackbar: Protect from negative tic count in recalculation helper.

Fix for regression introduced in 42c83b9dc7b5094384e718926eddd4b297c7bbae
dlls/comctl32/tests/trackbar.c
dlls/comctl32/trackbar.c