Commit 2b0d8ed7 authored by Greg Geldorp's avatar Greg Geldorp Committed by Alexandre Julliard

user32/tests: Fix menu test failures on East-Asian machines.

parent 213532a2
......@@ -954,7 +954,9 @@ static void check_menu_item_info( int line, HMENU hmenu, BOOL ansi, UINT mask, U
"wrong bmpitem %p/%p\n", info.hbmpItem, item );
ok_(__FILE__, line)( info.dwTypeData == type_data || (ULONG_PTR)info.dwTypeData == LOWORD(type_data),
"wrong type data %p/%p\n", info.dwTypeData, type_data );
ok_(__FILE__, line)( info.cch == out_len, "wrong len %x/%x\n", info.cch, out_len );
ok_(__FILE__, line)( info.cch == out_len ||
broken(! ansi && info.cch == 2 * out_len) /* East-Asian */,
"wrong len %x/%x\n", info.cch, out_len );
if (expname)
{
if(ansi)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment