GUI: U32: Code cleanup

- Remove extra parantheses leftover from temp code
- SaveLoadDialog - do not encode when setting labels
- Remove mapping variable from ThemeEngine::loadScalableFont (and use default 0)
- Remove incorrect u32 constructor wrapper from confman.set in eventrecorder.cpp
This commit is contained in:
aryanrawlani28 2020-07-01 23:31:48 +05:30 committed by Eugene Sandulenko
parent 185fb72783
commit d12c6c4338
20 changed files with 290 additions and 291 deletions

View file

@ -649,7 +649,7 @@ bool EventRecorder::switchMode() {
g_system->getEventManager()->pushEvent(eventReturnToLauncher);
}
}
ConfMan.set("record_mode", Common::U32String(""), Common::ConfigManager::kTransientDomain);
ConfMan.set("record_mode", "", Common::ConfigManager::kTransientDomain);
ConfMan.setInt("save_slot", emptySlot, Common::ConfigManager::kTransientDomain);
_needcontinueGame = true;
return true;