1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

uxtheme/tests: Skip the test if the SystemUsesLightTheme value isn't found.

Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=55771
This commit is contained in:
Helix Graziani 2023-10-14 17:48:22 -04:00 committed by Alexandre Julliard
parent bd0656b6e2
commit e5536fa0de

View file

@ -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);