From e75f49209fea580d08d02b9306d6ac10a7cb42d7 Mon Sep 17 00:00:00 2001 From: Stefan Leichter Date: Fri, 19 Nov 2004 18:19:31 +0000 Subject: [PATCH] Fixed GetFileVersionInfoSizeA tests on NT. --- dlls/version/tests/info.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/version/tests/info.c b/dlls/version/tests/info.c index 9a2a6d375e2..bb8ff48c7c8 100644 --- a/dlls/version/tests/info.c +++ b/dlls/version/tests/info.c @@ -80,9 +80,9 @@ static void test_info_size(void) ok( retval, "GetFileVersionInfoSizeA result wrong! <> 0L expected, got 0x%08lx\n", retval); - ok( NO_ERROR == GetLastError(), - "Last error wrong! NO_ERROR expected, got 0x%08lx\n", - GetLastError()); + ok((NO_ERROR == GetLastError()) || (MY_LAST_ERROR == GetLastError()), + "Last error wrong! NO_ERROR/0x%08lx (NT4) expected, got 0x%08lx\n", + MY_LAST_ERROR, GetLastError()); hdl = 0x55555555; SetLastError(MY_LAST_ERROR);