user32: Avoid -Wmisleading-indentation warnings and fix comments in comments in test_AppendMenu.
Gerald Pfeifer
gerald at pfeifer.com
Mon Jan 11 19:58:26 CST 2016
In the other cases we had an empty line below the "block" following
the if (0); here that is not even the case.
And the comment talks about "uncomment" when we actually compile that
code (guarded by that if), so change that, too.
Gerald
Signed-off-by: Gerald Pfeifer <gerald at pfeifer.com>
---
dlls/user32/tests/menu.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/tests/menu.c b/dlls/user32/tests/menu.c
index 33d8eb8..ea965cd 100644
--- a/dlls/user32/tests/menu.c
+++ b/dlls/user32/tests/menu.c
@@ -3992,13 +3992,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: enable 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: enable once Wine is fixed */ {
check_menu_items(hmenu, 207, MF_SEPARATOR, MFS_GRAYED);
+}
DestroyMenu(hmenu);
hbmp = CreateBitmap(1, 1, 1, 1, NULL);
--
2.6.4
More information about the wine-patches
mailing list