Fixed GetModuleBaseNameA tests for WinXP.

This commit is contained in:
Stefan Leichter 2004-10-22 22:04:56 +00:00 committed by Alexandre Julliard
parent 56fc9bfade
commit 80c1addb1c
1 changed files with 2 additions and 2 deletions

View File

@ -107,8 +107,8 @@ static void test_module_base_name(void)
ok(ERROR_SUCCESS == GetLastError(),
"last error wrong, got %ld expected ERROR_SUCCESS\n",
GetLastError());
ok(1 == strlen(buffer),
"buffer content length wrong, got %d(%s) expected 1\n",
ok((!strlen(buffer)) || (1 == strlen(buffer)),
"buffer content length wrong, got %d(%s) expected 0 (XP)/1\n",
strlen(buffer), buffer);
SetLastError(ERROR_SUCCESS);