This commit is contained in:
Nishi 2026-01-27 17:58:52 +09:00
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;
}