Alexandre Julliard (@julliard) commented about programs/winecfg/theme.c:
static void init_dialog (HWND dialog) {
- WCHAR *value = get_reg_key(HKEY_CURRENT_USER, L"Software\Microsoft\Windows\CurrentVersion\Themes\Personalize",
L"AppsUseLightTheme", L"\0001");
- int apps_use_light_theme = (!wcscmp(value, L"")) ? 0 : 1;
It's a dword key, treating it as a string is ugly.