From bbf544cbe47643465712ede82eb3b46cf1454ec6 Mon Sep 17 00:00:00 2001 From: Reece H. Dunn Date: Thu, 24 Jan 2008 23:11:57 +0000 Subject: [PATCH] uxtheme: fix the system tests so they pass on Vista. --- dlls/uxtheme/tests/system.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/uxtheme/tests/system.c b/dlls/uxtheme/tests/system.c index 8b4e29a..d428fb4 100644 --- a/dlls/uxtheme/tests/system.c +++ b/dlls/uxtheme/tests/system.c @@ -418,7 +418,7 @@ static void test_GetCurrentThemeName(void) SetLastError(0xdeadbeef); hRes = pGetCurrentThemeName(currentTheme, sizeof(currentTheme), NULL, 0, NULL, 0); todo_wine - ok( hRes == E_POINTER, "Expected E_POINTER, got 0x%08x\n", hRes); + ok( ( hRes == E_POINTER || hRes == S_OK /* Vista */ ), "Expected E_POINTER or S_OK, got 0x%08x\n", hRes); ok( GetLastError() == 0xdeadbeef, "Expected 0xdeadbeef, got 0x%08x\n", GetLastError()); -- 1.5.3.5