From 97e1fef09fcf0a21a27886ad241353cc0461a865 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Wed, 23 Apr 2008 19:07:19 -0500 Subject: [PATCH] uxtheme: Fix a test that fails in win2k3. --- dlls/uxtheme/tests/system.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/uxtheme/tests/system.c b/dlls/uxtheme/tests/system.c index b5f661975fb..ef9c08a2522 100644 --- a/dlls/uxtheme/tests/system.c +++ b/dlls/uxtheme/tests/system.c @@ -420,7 +420,9 @@ static void test_GetCurrentThemeName(void) if (bThemeActive) ok( hRes == E_POINTER || hRes == S_OK, "Expected E_POINTER or S_OK, got 0x%08x\n", hRes); else - ok( hRes == E_PROP_ID_UNSUPPORTED, "Expected E_PROP_ID_UNSUPPORTED, got 0x%08x\n", hRes); + ok( hRes == E_PROP_ID_UNSUPPORTED || + hRes == E_POINTER, /* win2k3 */ + "Expected E_PROP_ID_UNSUPPORTED, got 0x%08x\n", hRes); ok( GetLastError() == 0xdeadbeef, "Expected 0xdeadbeef, got 0x%08x\n", GetLastError()); -- 2.11.4.GIT