Commit e851e747 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

kernel32/tests: Fix GetNLSVersion test failure on Windows Server 2003.

parent 3d928853
......@@ -6743,7 +6743,9 @@ static void test_NLSVersion(void)
info.dwNLSVersionInfoSize = sizeof(info);
ret = pGetNLSVersion( 2, LOCALE_USER_DEFAULT, (NLSVERSIONINFO *)&info );
ok( !ret, "GetNLSVersion succeeded\n" );
ok( GetLastError() == ERROR_INVALID_FLAGS, "wrong error %u\n", GetLastError() );
ok( GetLastError() == ERROR_INVALID_FLAGS ||
broken( GetLastError() == ERROR_INSUFFICIENT_BUFFER ), /* win2003 */
"wrong error %u\n", GetLastError() );
SetLastError( 0xdeadbeef );
info.dwNLSVersionInfoSize = sizeof(info);
......
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