Commit 99949cb2 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

kernel32: Fix a test that fails in win9x.

parent d3bbc023
...@@ -222,7 +222,9 @@ static void test_get_atom_name(void) ...@@ -222,7 +222,9 @@ static void test_get_atom_name(void)
memset( buf, '.', sizeof(buf) ); memset( buf, '.', sizeof(buf) );
len = GlobalGetAtomNameA( atom, buf, 6 ); len = GlobalGetAtomNameA( atom, buf, 6 );
ok( len == 0, "bad length %d\n", len ); ok( len == 0 ||
len == 5, /* win9x */
"bad length %d\n", len );
ok( !memcmp( buf, "fooba\0....", 10 ), "bad buffer contents\n"); ok( !memcmp( buf, "fooba\0....", 10 ), "bad buffer contents\n");
if (unicode_OS) if (unicode_OS)
{ {
......
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