This commit is contained in:
NishiOwO
2026-01-27 17:58:52 +09:00
parent 0cecae2dd1
commit ae96b127e1

View File

@@ -19,8 +19,8 @@ static void detect_darktheme(MwLL handle){
if(err != ERROR_SUCCESS) return;
err = RegQueryValueEx(hkey, "AppsUseLightTheme", NULL, &type, (PBYTE)&dw, &sz);
RegCloseKey(hkey);
if(err != ERROR_SUCCESS || type != REG_DWORD){
RegCloseKey(hkey);
return;
}