Skip to content

Commit

Permalink
ADL: Fix OB1 bug in ADL v2 word wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
waltervn committed Jun 6, 2016
1 parent 6044022 commit 8cc5100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/adl/adl_v2.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8cc5100

Please sign in to comment.