aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/charset.cpp
diff options
context:
space:
mode:
authorTravis Howell2007-08-06 03:04:37 +0000
committerTravis Howell2007-08-06 03:04:37 +0000
commit0b91e112c2e09527abe694eab28fa0f7b9015697 (patch)
tree3c2b002cb1f6e717a968e45b98ed2a9edbb68903 /engines/agos/charset.cpp
parent9edf4eaf3f8754c2e26d40e87a7043065e106e07 (diff)
downloadscummvm-rg350-0b91e112c2e09527abe694eab28fa0f7b9015697.tar.gz
scummvm-rg350-0b91e112c2e09527abe694eab28fa0f7b9015697.tar.bz2
scummvm-rg350-0b91e112c2e09527abe694eab28fa0f7b9015697.zip
Ooops, correction to last commit.
svn-id: r28465
Diffstat (limited to 'engines/agos/charset.cpp')
-rw-r--r--engines/agos/charset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/charset.cpp b/engines/agos/charset.cpp
index 005b3fe549..5286b65732 100644
--- a/engines/agos/charset.cpp
+++ b/engines/agos/charset.cpp
@@ -551,7 +551,7 @@ void AGOSEngine::justifyOutPut(byte chr) {
fit = _printCharMaxPos - _printCharCurPos >= _printCharPixelCount;
}
- if (_printCharMaxPos - _printCharCurPos > _printCharPixelCount) {
+ if (fit) {
_printCharCurPos += _printCharPixelCount;
doOutput(_lettersToPrintBuf, _numLettersToPrint);