mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-26 13:16:58 +00:00
Merge pull request #4529 from lioncash/assignment
time_zone_content_manager: Collapse auto and default case
This commit is contained in:
commit
f482b4b40d
|
@ -73,10 +73,8 @@ TimeZoneContentManager::TimeZoneContentManager(TimeManager& time_manager, Core::
|
||||||
|
|
||||||
std::string location_name;
|
std::string location_name;
|
||||||
const auto timezone_setting = Settings::GetTimeZoneString();
|
const auto timezone_setting = Settings::GetTimeZoneString();
|
||||||
if (timezone_setting == "auto") {
|
if (timezone_setting == "auto" || timezone_setting == "default") {
|
||||||
location_name = Common::TimeZone::GetDefaultTimeZone();
|
location_name = Common::TimeZone::GetDefaultTimeZone();
|
||||||
} else if (timezone_setting == "default") {
|
|
||||||
location_name = location_name;
|
|
||||||
} else {
|
} else {
|
||||||
location_name = timezone_setting;
|
location_name = timezone_setting;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue