aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-07-23 14:36:18 +0000
committerTorbjörn Andersson2003-07-23 14:36:18 +0000
commit9db2d93614ea354155c2a0b0fdf50b306aed153a (patch)
tree15954d444a9bb01df6b41486297148d35615b7aa /scumm
parente66bdf91b962083abee31c6baf168ec8dcb3cda9 (diff)
downloadscummvm-rg350-9db2d93614ea354155c2a0b0fdf50b306aed153a.tar.gz
scummvm-rg350-9db2d93614ea354155c2a0b0fdf50b306aed153a.tar.bz2
scummvm-rg350-9db2d93614ea354155c2a0b0fdf50b306aed153a.zip
Slight cleanup of previous commit.
svn-id: r9147
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 7b6eba0005..a46f8e7cfa 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -991,7 +991,7 @@ void Scumm_v2::o2_drawSentence() {
int n = 0;
// Maximum length: 40 printable characters
- while (*ptr != 0) {
+ while (*ptr) {
if (*ptr != '@')
n++;
if (n > 40) {