mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 04:43:26 +00:00
GUI: Mark var as const
This commit is contained in:
parent
6d6a6d2bc6
commit
7d0a96818d
@ -1275,7 +1275,7 @@ void OptionsDialog::addStatisticsControls(GuiObject *boss, const Common::String
|
||||
for (uint16 idx = 0; idx < nMax ; idx++) {
|
||||
const Common::StatDescription *descr = AchMan.getStatDescription(idx);
|
||||
|
||||
Common::String key = descr->comment.empty() ? descr->id : descr->comment;
|
||||
const Common::String &key = descr->comment.empty() ? descr->id : descr->comment;
|
||||
Common::String value = AchMan.getStatRaw(descr->id);
|
||||
|
||||
Common::U32String str = Common::U32String::format("%s: %s", key.c_str(), value.c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user