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:
Nikolay Sivov 2016-08-09 20:06:22 +03:00 committed by Alexandre Julliard
parent 27f91d71a2
commit 6c8887b830
2 changed files with 7 additions and 5 deletions

View File

@ -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);

View File

@ -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);