From 8e0db10bf207602f54a445f077fb1acc90576922 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sun, 9 Mar 2003 08:30:53 +0000 Subject: hack for "%___" in translated strings svn-id: r6787 --- scumm/script_v6.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scumm') diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 33f5e67919..a0188bb7ba 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -2438,7 +2438,12 @@ void Scumm_v6::o6_kernelSetFunctions() { while (true) { if (*t_ptr == '/') { translateText((byte *)t_ptr, buf_trans); - strcat((char *)buf_output, (char *)buf_trans); + // hack + if (strstr((char *)buf_trans, "%___") != 0) { + strcat((char *)buf_output, " "); + } else { + strcat((char *)buf_output, (char *)buf_trans); + } } t_ptr = strchr((char *)t_ptr + 1, '/'); if (t_ptr == NULL) -- cgit v1.2.3