diff options
Diffstat (limited to 'engines/wage/script.cpp')
-rw-r--r-- | engines/wage/script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/script.cpp b/engines/wage/script.cpp index d9d9252542..1a772df562 100644 --- a/engines/wage/script.cpp +++ b/engines/wage/script.cpp @@ -381,12 +381,12 @@ Script::Operand *Script::readStringOperand() { while (true) { byte c = _data->readByte(); - if (c < '0' || c > '9') - allDigits = false; if (c >= 0x20 && c < 0x80) *sb += c; else break; + if (c < '0' || c > '9') + allDigits = false; } _data->seek(-1, SEEK_CUR); |