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

user32/tests: Don't crash on Win95.

parent 4f14b030
......@@ -3361,9 +3361,17 @@ static void test_params(void)
INT rc;
/* Just a param check */
if (pGetMonitorInfoA)
{
SetLastError(0xdeadbeef);
rc = GetWindowText(hwndMain2, NULL, 1024);
ok( rc==0, "GetWindowText: rc=%d err=%d\n",rc,GetLastError());
}
else
{
/* Skips actually on Win95 and NT4 */
win_skip("Test would crash on Win95\n");
}
SetLastError(0xdeadbeef);
hwnd=CreateWindow("LISTBOX", "TestList",
......
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