aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorJoost Peters2005-03-13 14:03:54 +0000
committerJoost Peters2005-03-13 14:03:54 +0000
commit4a36c4f7b4bd0701d58884b3685c2870b18571f8 (patch)
tree30b167dc2af90e89ab15f1bc601100bf0aed4bce /sky
parentf81438ff8d556943271261e0b66d4751bf6df8dd (diff)
downloadscummvm-rg350-4a36c4f7b4bd0701d58884b3685c2870b18571f8.tar.gz
scummvm-rg350-4a36c4f7b4bd0701d58884b3685c2870b18571f8.tar.bz2
scummvm-rg350-4a36c4f7b4bd0701d58884b3685c2870b18571f8.zip
Use same length as original, as the string is split across 2 lines it doesn't matter anyway.
this way we won't have to create a temporary buffer. svn-id: r17122
Diffstat (limited to 'sky')
-rw-r--r--sky/text.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sky/text.cpp b/sky/text.cpp
index fc8cb169b3..9c6fc68da3 100644
--- a/sky/text.cpp
+++ b/sky/text.cpp
@@ -404,8 +404,8 @@ displayText_t Text::displayText(char *textPtr, uint8 *dest, bool centre, uint16
// the correct string "MANIFESTACION - ARTISTICA.", which doesn't break the algorithm/game.
tmpPtr = strstr(textPtr, "MANIFESTACION-ARTISTICA.");
if (tmpPtr)
- strcpy(tmpPtr, "MANIFESTACION - ARTISTICA.");
-
+ strcpy(tmpPtr, "MANIFESTACION ARTISTICA.");
+
while (textChar >= 0x20) {
if ((_curCharSet == 1) && (textChar >= 0x80))
textChar = 0x20;