Commit bf520bfb authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

winspool.drv/tests: Fix a test on Vista/W2K8.

parent 6d6881a7
......@@ -693,7 +693,9 @@ static void test_DeleteMonitor(void)
AddMonitorA(NULL, 2, (LPBYTE) &mi2a);
SetLastError(MAGIC_DEAD);
res = DeleteMonitorA(NULL, invalid_env, winetest);
ok(res, "returned %d with %d (expected '!=0')\n", res, GetLastError());
ok( res ||
(!res && GetLastError() == ERROR_INVALID_ENVIRONMENT) /* Vista/W2K8 */,
"returned %d with %d\n", res, GetLastError());
/* the monitor-name */
AddMonitorA(NULL, 2, (LPBYTE) &mi2a);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment