mirror of
https://github.com/reactos/wine.git
synced 2024-12-13 14:26:40 +00:00
user32/tests: Fix indentation warnings on GCC 6.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
27f91d71a2
commit
6c8887b830
@ -184,7 +184,7 @@ static int KbdMessage( KEV kev, WPARAM *pwParam, LPARAM *plParam )
|
||||
if( TrackSysKey == VK_MENU || /* <ALT>-down/<ALT>-up sequence */
|
||||
(VKey != VK_MENU)) /* <ALT>-down...<something else>-up */
|
||||
message = WM_SYSKEYUP;
|
||||
TrackSysKey = 0;
|
||||
TrackSysKey = 0;
|
||||
}
|
||||
InputKeyStateTable[VKey] &= ~0x80;
|
||||
flags |= KF_REPEAT | KF_UP;
|
||||
@ -1767,8 +1767,8 @@ static void test_keyboard_layout_name(void)
|
||||
BOOL ret;
|
||||
char klid[KL_NAMELENGTH];
|
||||
|
||||
if (0) /* crashes on native system */
|
||||
ret = GetKeyboardLayoutNameA(NULL);
|
||||
if (0) /* crashes on native system */
|
||||
ret = GetKeyboardLayoutNameA(NULL);
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = GetKeyboardLayoutNameW(NULL);
|
||||
|
@ -3972,13 +3972,15 @@ static void test_AppendMenu(void)
|
||||
mii.wID = 206;
|
||||
ret = InsertMenuItemA(hmenu, 0, TRUE, &mii);
|
||||
ok(ret, "InsertMenuItem failed\n");
|
||||
if (0) /* FIXME: uncomment once Wine is fixed */
|
||||
if (0) /* FIXME: uncomment once Wine is fixed */ {
|
||||
check_menu_items(hmenu, 206, MF_SEPARATOR, MFS_GRAYED);
|
||||
}
|
||||
mii.wID = 207;
|
||||
ret = SetMenuItemInfoA(hmenu, 0, TRUE, &mii);
|
||||
ok(ret, "SetMenuItemInfo failed\n");
|
||||
if (0) /* FIXME: uncomment once Wine is fixed */
|
||||
if (0) /* FIXME: uncomment once Wine is fixed */ {
|
||||
check_menu_items(hmenu, 207, MF_SEPARATOR, MFS_GRAYED);
|
||||
}
|
||||
DestroyMenu(hmenu);
|
||||
|
||||
hbmp = CreateBitmap(1, 1, 1, 1, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user