From 5e7988ae6fa43865410f03b3681ece23304d7c8f Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 28 Jul 2003 20:59:53 +0000 Subject: checkin for LavosSpawn: 'work around bug #778105 (line width exceeded)' svn-id: r9262 --- sky/text.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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; -- cgit v1.2.3