diff options
author | Walter van Niftrik | 2016-04-10 14:44:52 +0200 |
---|---|---|
committer | Walter van Niftrik | 2016-06-06 20:35:49 +0200 |
commit | 8cc5100afd022f089bcba1cfc9b90d64601b2754 (patch) | |
tree | 1662f040c9699f2406d31c72a27bf9257ace03d5 /engines/adl | |
parent | 6044022c8ed3349242d86206adb57cb9f4f3031e (diff) | |
download | scummvm-rg350-8cc5100afd022f089bcba1cfc9b90d64601b2754.tar.gz scummvm-rg350-8cc5100afd022f089bcba1cfc9b90d64601b2754.tar.bz2 scummvm-rg350-8cc5100afd022f089bcba1cfc9b90d64601b2754.zip |
ADL: Fix OB1 bug in ADL v2 word wrapping
Diffstat (limited to 'engines/adl')
-rw-r--r-- | engines/adl/adl_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/adl/adl_v2.cpp b/engines/adl/adl_v2.cpp index 39cf0a7583..dba6b61346 100644 --- a/engines/adl/adl_v2.cpp +++ b/engines/adl/adl_v2.cpp @@ -176,7 +176,7 @@ void AdlEngine_v2::printString(const Common::String &str) { byte pos = 0; while (true) { - while (pos != endPos && pos != s.size()) { + while (pos <= endPos && pos != s.size()) { s.setChar(APPLECHAR(s[pos]), pos); ++pos; } |