diff options
author | Max Horn | 2003-07-28 20:59:53 +0000 |
---|---|---|
committer | Max Horn | 2003-07-28 20:59:53 +0000 |
commit | 5e7988ae6fa43865410f03b3681ece23304d7c8f (patch) | |
tree | 1dc8b0fe7737b860570e14576674c82007528b19 | |
parent | 57a413f0288c8f9cedd2ac0bbb4b9ebdc937a0de (diff) | |
download | scummvm-rg350-5e7988ae6fa43865410f03b3681ece23304d7c8f.tar.gz scummvm-rg350-5e7988ae6fa43865410f03b3681ece23304d7c8f.tar.bz2 scummvm-rg350-5e7988ae6fa43865410f03b3681ece23304d7c8f.zip |
checkin for LavosSpawn: 'work around bug #778105 (line width exceeded)'
svn-id: r9262
-rw-r--r-- | sky/text.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sky/text.cpp b/sky/text.cpp index dd0ae8c1be..31f39116e1 100644 --- a/sky/text.cpp +++ b/sky/text.cpp @@ -247,6 +247,11 @@ displayText_t SkyText::displayText(char *textPtr, uint8 *dest, bool centre, uint textChar = (uint8)*curPos++; _dtLetters++; + // work around bug #778105 (line width exceeded) + char *tmpPtr = strstr(textPtr, "MUND-BEATMUNG!"); + if (tmpPtr) + strcpy(tmpPtr, "MUND BEATMUNG!"); + while (textChar >= 0x20) { if ((_curCharSet == 1) && (textChar >= 0x80)) textChar = 0x20; |