Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=55771
-- v2: uxtheme/tests: Skip the test if the SystemUsesLightTheme value isn't found.
From: Helix Graziani helix.graziani@hotmail.com
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=55771 --- dlls/uxtheme/tests/system.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/uxtheme/tests/system.c b/dlls/uxtheme/tests/system.c index 390baece969..197cd86f6b6 100644 --- a/dlls/uxtheme/tests/system.c +++ b/dlls/uxtheme/tests/system.c @@ -2617,8 +2617,8 @@ static void test_ShouldSystemUseDarkMode(void) L"SystemUsesLightTheme", RRF_RT_REG_DWORD, NULL, &light_theme, &light_theme_size); if (ls == ERROR_FILE_NOT_FOUND) { - light_theme = 1; - ls = 0; + skip("SystemUsesLightTheme registry value not found.\n"); + return; } ok(ls == 0, "RegGetValue failed: %ld.\n", ls);
This merge request was approved by Zhiyi Zhang.