From 5f2536841456a9b72d8ad6c6a91cf9d9f665ddba Mon Sep 17 00:00:00 2001
From: James Hawkins <jhawkins@codeweavers.com>
Date: Thu, 1 May 2008 01:31:25 -0500
Subject: [PATCH] user32: Fix a test that fails in win2k3.

---
 dlls/user32/tests/sysparams.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/tests/sysparams.c b/dlls/user32/tests/sysparams.c
index 7623a67013a..8e95ffd7da3 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);
-- 
GitLab