Module: wine Branch: master Commit: 5f2536841456a9b72d8ad6c6a91cf9d9f665ddba URL: http://source.winehq.org/git/wine.git/?a=commit;h=5f2536841456a9b72d8ad6c6a9...
Author: James Hawkins jhawkins@codeweavers.com Date: Thu May 1 01:31:25 2008 -0500
user32: Fix a test that fails in win2k3.
---
dlls/user32/tests/sysparams.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/tests/sysparams.c b/dlls/user32/tests/sysparams.c index 7623a67..8e95ffd 100644 --- a/dlls/user32/tests/sysparams.c +++ b/dlls/user32/tests/sysparams.c @@ -727,9 +727,10 @@ static void test_SPI_SETBORDER( void ) /* 6 */ * do it twice to make the intended change). So skip parts of the tests on * those platforms */ if( !iswin9x) { - test_setborder(1, 1, dpi); - test_setborder(0, 1, dpi); + /* win2k3 fails if you set the same border twice, or if size is 0 */ test_setborder(2, 1, dpi); + test_setborder(1, 1, dpi); + test_setborder(3, 1, dpi); } test_setborder(1, 0, dpi); test_setborder(0, 0, dpi);