user32/tests: Also check against the low word of hSubMenu (try 2)
André Hentschel
nerv at dawncrow.de
Sat Jul 25 10:55:10 CDT 2015
This is already done elsewhere in that file and fixes a test failure on w2k8
try2: don't treat it as broken
---
dlls/user32/tests/menu.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/user32/tests/menu.c b/dlls/user32/tests/menu.c
index 62c3229..2ef6b6f 100644
--- a/dlls/user32/tests/menu.c
+++ b/dlls/user32/tests/menu.c
@@ -2514,7 +2514,8 @@ if (0)
if (mii.hSubMenu)
{
- ok(mii.wID == (UINT_PTR)mii.hSubMenu, "id %u: wID should be equal to hSubMenu\n", checked_cmd);
+ ok(mii.wID == (UINT_PTR)mii.hSubMenu || mii.wID == LOWORD(mii.hSubMenu),
+ "id %u: wID should be equal to hSubMenu\n", checked_cmd);
if (!GetMenuItemCount(mii.hSubMenu))
{
ok(mii.fType == checked_type, "id %u: expected fType %04x, got %04x\n", checked_cmd, checked_type, mii.fType);
--
1.9.1
More information about the wine-patches
mailing list