[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.78,1.79
Pawel Kolodziejski
aquadran at users.sourceforge.net
Sun Mar 9 00:31:09 CET 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv32059
Modified Files:
script_v6.cpp
Log Message:
hack for "%___" in translated strings
Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- script_v6.cpp 8 Mar 2003 17:38:59 -0000 1.78
+++ script_v6.cpp 9 Mar 2003 08:30:53 -0000 1.79
@@ -2438,7 +2438,12 @@
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)
More information about the Scummvm-git-logs
mailing list