kernel32: Fix a test that fails in win9x.

This commit is contained in:
James Hawkins 2008-04-20 15:33:27 -05:00 committed by Alexandre Julliard
parent d3bbc0231a
commit 99949cb21a
1 changed files with 3 additions and 1 deletions

View File

@ -222,7 +222,9 @@ static void test_get_atom_name(void)
memset( buf, '.', sizeof(buf) );
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");
if (unicode_OS)
{