forked from Mirrors/wine-wine
user32/tests: Fix compilation on systems that don't support nameless unions.
parent
d3cc10724e
commit
39f8c2201c
|
@ -483,9 +483,9 @@ static void test_inputdesktop(void)
|
||||||
INPUT inputs[1];
|
INPUT inputs[1];
|
||||||
|
|
||||||
inputs[0].type = INPUT_KEYBOARD;
|
inputs[0].type = INPUT_KEYBOARD;
|
||||||
inputs[0].ki.wVk = 0;
|
U(inputs[0]).ki.wVk = 0;
|
||||||
inputs[0].ki.wScan = 0x3c0;
|
U(inputs[0]).ki.wScan = 0x3c0;
|
||||||
inputs[0].ki.dwFlags = KEYEVENTF_UNICODE;
|
U(inputs[0]).ki.dwFlags = KEYEVENTF_UNICODE;
|
||||||
|
|
||||||
/* OpenInputDesktop creates new handles for each calls */
|
/* OpenInputDesktop creates new handles for each calls */
|
||||||
old_input_desk = OpenInputDesktop(0, FALSE, DESKTOP_ALL_ACCESS);
|
old_input_desk = OpenInputDesktop(0, FALSE, DESKTOP_ALL_ACCESS);
|
||||||
|
|
Loading…
Reference in New Issue