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 a08b324574..523f1e1a1b 100644 --- a/engines/wage/script.cpp +++ b/engines/wage/script.cpp @@ -419,7 +419,7 @@ Script::Operand *Script::readStringOperand() { } _data->seek(-1, SEEK_CUR); - if (allDigits && str->size() > 0) { + if (allDigits && !str->empty()) { int r = atol(str->c_str()); delete str; @@ -1137,7 +1137,7 @@ void Script::convertToText() { } } - if (scr->line.size()) + if (!scr->line.empty()) _scriptText.push_back(scr); else delete scr; |