user32/tests: Fix sysparams test failure on Win7.
This commit is contained in:
parent
43a28649c3
commit
2165c2640e
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue