diff options
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v2.cpp | 2 |
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) { |