aboutsummaryrefslogtreecommitdiff
path: root/gui/eval.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/eval.cpp')
-rw-r--r--gui/eval.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/eval.cpp b/gui/eval.cpp
index 0075796d83..5b1428ffc1 100644
--- a/gui/eval.cpp
+++ b/gui/eval.cpp
@@ -302,11 +302,11 @@ int Eval::getVar_(const char *s, bool includeAliases) {
return EVAL_UNDEF_VAR;
}
-void Eval::setAlias(const String &section, const char *name, const String value) {
+void Eval::setAlias(const String &section, const char *name, const String &value) {
_aliases[name + 4] = value;
}
-void Eval::setVar(const String &section, const char *name, const String value) {
+void Eval::setVar(const String &section, const char *name, const String &value) {
_vars[name + 4] = eval(value, section, name, 0);
}