Commit ebd99188 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

user32/tests: Fix compilation on systems that don't support nameless unions.

parent 6754c355
......@@ -7548,13 +7548,13 @@ START_TEST(win)
memset(input, 0, sizeof(input));
input[0].type = INPUT_MOUSE;
input[0].mi.dx = 101;
input[0].mi.dy = 101;
input[0].mi.dwFlags = MOUSEEVENTF_LEFTDOWN;
U(input[0]).mi.dx = 101;
U(input[0]).mi.dy = 101;
U(input[0]).mi.dwFlags = MOUSEEVENTF_LEFTDOWN;
input[0].type = INPUT_MOUSE;
input[0].mi.dx = 101;
input[0].mi.dy = 101;
input[0].mi.dwFlags = MOUSEEVENTF_LEFTUP;
U(input[0]).mi.dx = 101;
U(input[0]).mi.dy = 101;
U(input[0]).mi.dwFlags = MOUSEEVENTF_LEFTUP;
events_no = SendInput(2, input, sizeof(input[0]));
ok(events_no == 2, "SendInput returned %d\n", events_no);
ok(SetForegroundWindow(hwndMain), "SetForegroundWindow failed\n");
......
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