aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sky/text.cpp5
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;