Module: wine Branch: master Commit: 39f8c2201ca64ca7756c2d55e14bd220e640451f URL: http://source.winehq.org/git/wine.git/?a=commit;h=39f8c2201ca64ca7756c2d55e1...
Author: Francois Gouget fgouget@free.fr Date: Sun Oct 6 00:22:29 2013 +0200
user32/tests: Fix compilation on systems that don't support nameless unions.
---
dlls/user32/tests/winstation.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/user32/tests/winstation.c b/dlls/user32/tests/winstation.c index 7155b33..1804345 100644 --- a/dlls/user32/tests/winstation.c +++ b/dlls/user32/tests/winstation.c @@ -483,9 +483,9 @@ static void test_inputdesktop(void) INPUT inputs[1];
inputs[0].type = INPUT_KEYBOARD; - inputs[0].ki.wVk = 0; - inputs[0].ki.wScan = 0x3c0; - inputs[0].ki.dwFlags = KEYEVENTF_UNICODE; + U(inputs[0]).ki.wVk = 0; + U(inputs[0]).ki.wScan = 0x3c0; + U(inputs[0]).ki.dwFlags = KEYEVENTF_UNICODE;
/* OpenInputDesktop creates new handles for each calls */ old_input_desk = OpenInputDesktop(0, FALSE, DESKTOP_ALL_ACCESS);