aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos')
-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);