Skip to content

Commit

Permalink
Fixed some function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Amrsatrio committed Sep 1, 2024
1 parent 3885b97 commit c89705e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ep_weather_host/ep_weather_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static void epw_Weather_SetTextScaleFactorFromRegistry(EPWeather* _this, HKEY hK
}
else if (hKey == HKEY_LOCAL_MACHINE)
{
if (RegOpenKeyExW(HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\Accessibility", 0, KEY_READ | KEY_WOW64_64KEY | KEY_WRITE, NULL, &_this->hKLMAccessibility))
if (RegOpenKeyExW(HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\Accessibility", REG_OPTION_NON_VOLATILE, KEY_READ | KEY_WOW64_64KEY | KEY_WRITE, &_this->hKLMAccessibility))
{
RegNotifyChangeKeyValue(_this->hKLMAccessibility, FALSE, REG_NOTIFY_CHANGE_LAST_SET, _this->hSignalOnAccessibilitySettingsChangedFromHKLM, TRUE);
}
Expand Down

0 comments on commit c89705e

Please sign in to comment.