aboutsummaryrefslogtreecommitdiff
path: root/gui/eval.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2006-03-07 05:39:52 +0000
committerEugene Sandulenko2006-03-07 05:39:52 +0000
commit018c93b14a9f2b3eda3bdfafcf9b90ee9ac0f8f2 (patch)
treece773d203cb6e24aa2a3f206a7eaf2547bef5762 /gui/eval.cpp
parent02bdcc45c9aaca4ab98b27eccd21ae00731aa2f8 (diff)
downloadscummvm-rg350-018c93b14a9f2b3eda3bdfafcf9b90ee9ac0f8f2.tar.gz
scummvm-rg350-018c93b14a9f2b3eda3bdfafcf9b90ee9ac0f8f2.tar.bz2
scummvm-rg350-018c93b14a9f2b3eda3bdfafcf9b90ee9ac0f8f2.zip
More work on customizable GUI.
o Implemented special alias 'prev' o Added new calling scheme to several widgets o Partially converted launcher dialog to new scheme o Converted couple widgets of chooser dialog svn-id: r21118
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 6828823e68..5b86a6d8d5 100644
--- a/gui/eval.cpp
+++ b/gui/eval.cpp
@@ -127,7 +127,7 @@ void Eval::primitive(int *result) {
switch (_tokenType) {
case tVariable:
- *result = lookupVar(_token);
+ *result = getVar(_token);
if (*result == EVAL_UNDEF_VAR)
exprError(eUndefVar);
getToken();
@@ -249,7 +249,7 @@ int Eval::getBuiltinVar(const char *s) {
return EVAL_UNDEF_VAR;
}
-int Eval::lookupVar(const char *s, bool includeAliases) {
+int Eval::getVar(const char *s, bool includeAliases) {
int i;
int val;