Index: sysparams.c
===================================================================
RCS file: /home/wine/wine/dlls/user/tests/sysparams.c,v
retrieving revision 1.26
diff -u -r1.26 sysparams.c
--- sysparams.c	20 Jan 2005 20:43:02 -0000	1.26
+++ sysparams.c	25 Jan 2005 03:35:02 -0000
@@ -162,7 +162,7 @@
  * lpsRegName - registry entry name
  * lpsTestValue - value to test
  */
-static void _test_reg_key( LPCSTR subKey1, LPCSTR subKey2, LPCSTR valName, LPCSTR testValue )
+static int _test_reg_key( LPCSTR subKey1, LPCSTR subKey2, LPCSTR valName, LPCSTR testValue )
 {
     CHAR  value[MAX_PATH];
     DWORD valueLen;
@@ -205,6 +205,8 @@
     }
     ok(found,"Missing registry entry: %s in %s or %s\n",
        valName, subKey1, (subKey2?subKey2:"<n/a>") );
+
+    return found;
 }
 
 #define test_reg_key( subKey, valName, testValue ) \
@@ -702,10 +704,11 @@
                                   SPIF_UPDATEINIFILE | SPIF_SENDCHANGE );
         ok(rc!=0,"%d: rc=%d err=%ld\n",i,rc,GetLastError());
         test_change_message( SPI_SETICONTITLEWRAP, 1 );
-        test_reg_key_ex( SPI_SETICONTITLEWRAP_REGKEY1,
+        if (!test_reg_key_ex( SPI_SETICONTITLEWRAP_REGKEY1,
                          SPI_SETICONTITLEWRAP_REGKEY2,
                          SPI_SETICONTITLEWRAP_VALNAME,
-                         vals[i] ? "1" : "0" );
+                         vals[i] ? "1" : "0" ))
+            return;
 
         rc=SystemParametersInfoA( SPI_GETICONTITLEWRAP, 0, &v, 0 );
         ok(rc!=0,"%d: rc=%d err=%ld\n",i,rc,GetLastError());
