user32/tests: Fix sysparams test failure on Win7.

This commit is contained in:
Ge van Geldorp 2001-09-17 00:00:00 +02:00 committed by Alexandre Julliard
parent 43a28649c3
commit 2165c2640e
1 changed files with 2 additions and 1 deletions

View File

@ -942,7 +942,8 @@ static void test_SPI_SETSCREENSAVEACTIVE( void ) /* 17 */
rc=SystemParametersInfoA( SPI_GETSCREENSAVEACTIVE, 0, &v, 0 );
ok(rc!=0,"%d: rc=%d err=%d\n",i,rc,GetLastError());
eq( v, vals[i], "SPI_{GET,SET}SCREENSAVEACTIVE", "%d" );
ok(v == vals[i] || broken(! v) /* Win 7 */,
"SPI_{GET,SET}SCREENSAVEACTIVE: got %d instead of %d\n", v, vals[i]);
}
rc=SystemParametersInfoA( SPI_SETSCREENSAVEACTIVE, old_b, 0, SPIF_UPDATEINIFILE );