aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorRobert Göffringmann2003-07-10 01:55:48 +0000
committerRobert Göffringmann2003-07-10 01:55:48 +0000
commit5aba29ae2dde8a790a37e9b1af8bea21dbdef3bc (patch)
tree0f16bef30d6b387e0f2a83448deaacd3d2fa593b /sky
parent96f442923c70cdb57001ec141c25ff070587ffed (diff)
downloadscummvm-rg350-5aba29ae2dde8a790a37e9b1af8bea21dbdef3bc.tar.gz
scummvm-rg350-5aba29ae2dde8a790a37e9b1af8bea21dbdef3bc.tar.bz2
scummvm-rg350-5aba29ae2dde8a790a37e9b1af8bea21dbdef3bc.zip
this fixes bug #768724 (text width exceeded in LINC terminal).
I wonder though, if this isn't in fact a bug in the huffman tree. svn-id: r8886
Diffstat (limited to 'sky')
-rw-r--r--sky/text.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sky/text.cpp b/sky/text.cpp
index 06f8bbf685..9e7635902f 100644
--- a/sky/text.cpp
+++ b/sky/text.cpp
@@ -248,6 +248,8 @@ displayText_t SkyText::displayText(char *textPtr, uint8 *dest, bool centre, uint
_dtLetters++;
while (textChar >= 0x20) {
+ if ((_curCharSet == 1) && (textChar >= 0x80))
+ textChar = 0x20;
textChar -= 0x20;
if (textChar == 0) {