Update main.c

Fixed inversion in code for light theme (windows 10)
This commit is contained in:
Nikolai Sinyov 2021-09-02 17:40:33 +03:00 committed by GitHub
parent 5b9e19a5d4
commit 246171832b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -64,11 +64,11 @@ static int GetWinDarkMode() {
return *(DWORD*)pvData;
}
else
err = 0;
err = 1;
RegCloseKey(OpenResult);
}
else
err = 0;
err = 1;
return err;
}
#endif