diff options
author | Eugene Sandulenko | 2006-03-07 05:39:52 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-03-07 05:39:52 +0000 |
commit | 018c93b14a9f2b3eda3bdfafcf9b90ee9ac0f8f2 (patch) | |
tree | ce773d203cb6e24aa2a3f206a7eaf2547bef5762 /gui/eval.cpp | |
parent | 02bdcc45c9aaca4ab98b27eccd21ae00731aa2f8 (diff) | |
download | scummvm-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.cpp | 4 |
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; |