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:
parent
bd0656b6e2
commit
e5536fa0de
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue