aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeNew.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/ThemeNew.cpp')
-rw-r--r--gui/ThemeNew.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp
index 3033f54e3b..cd03ded318 100644
--- a/gui/ThemeNew.cpp
+++ b/gui/ThemeNew.cpp
@@ -1265,7 +1265,7 @@ void ThemeNew::setupFont(const String &key, const String &name, FontStyle style)
_fonts[style] = FontMan.getFontByName(name);
if (!_fonts[style]) {
- Common::String temp(_evaluator->getStringVar(key.c_str()));
+ Common::String temp(_evaluator->getStringVar(key));
_fonts[style] = loadFont(temp.c_str());
if (!_fonts[style])