diff options
author | Max Horn | 2004-04-03 23:44:06 +0000 |
---|---|---|
committer | Max Horn | 2004-04-03 23:44:06 +0000 |
commit | a2413dad38f22bd9352a9b8940ffd670aa82a370 (patch) | |
tree | b272010c8b745f537304b6a0b82ed32efd43c266 | |
parent | 3f2fc3e8bebf4cd7b335504c328a27df91b7568d (diff) | |
download | scummvm-rg350-a2413dad38f22bd9352a9b8940ffd670aa82a370.tar.gz scummvm-rg350-a2413dad38f22bd9352a9b8940ffd670aa82a370.tar.bz2 scummvm-rg350-a2413dad38f22bd9352a9b8940ffd670aa82a370.zip |
Fix for bugs #915586, #905856, part of bug #766749 (COMI: Bug with text being printed on the edge of the screen)
svn-id: r13452
-rw-r--r-- | scumm/charset.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp index 7da8150344..c169e682e8 100644 --- a/scumm/charset.cpp +++ b/scumm/charset.cpp @@ -1279,10 +1279,10 @@ void CharsetRendererNut::printChar(int chr) { // details. if (_firstChar) { - _str.left = shadow.left; - _str.top = shadow.top; - _str.right = shadow.left; - _str.bottom = shadow.top; + _str.left = (shadow.left >= 0) ? shadow.left : 0; + _str.top = (shadow.top >= 0) ? shadow.top : 0; + _str.right = _str.left; + _str.bottom = _str.top; _firstChar = false; } |