diff options
author | Paweł Kołodziejski | 2003-03-09 08:30:53 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-03-09 08:30:53 +0000 |
commit | 8e0db10bf207602f54a445f077fb1acc90576922 (patch) | |
tree | 8ab4afa83ff34c20e977fe6908d64d9e6abeb41a /scumm/script_v6.cpp | |
parent | 060cab7bf27c329045f98aa569b6296a691445dc (diff) | |
download | scummvm-rg350-8e0db10bf207602f54a445f077fb1acc90576922.tar.gz scummvm-rg350-8e0db10bf207602f54a445f077fb1acc90576922.tar.bz2 scummvm-rg350-8e0db10bf207602f54a445f077fb1acc90576922.zip |
hack for "%___" in translated strings
svn-id: r6787
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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) |