aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2009-02-15 15:51:56 +0000
committerWillem Jan Palenstijn2009-02-15 15:51:56 +0000
commitfaa156c9d5437fc8deaa51b27231e8c2419e77a3 (patch)
treec6f14ec2ce1eb687066b678092ca4dc5f8dd58bf /engines/sci
parent4b31a6cd634c8f70576e79444efbb6e477efdb28 (diff)
downloadscummvm-rg350-faa156c9d5437fc8deaa51b27231e8c2419e77a3.tar.gz
scummvm-rg350-faa156c9d5437fc8deaa51b27231e8c2419e77a3.tar.bz2
scummvm-rg350-faa156c9d5437fc8deaa51b27231e8c2419e77a3.zip
fix string unmangling (which I broke earlier)
svn-id: r38262
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/cfsml.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/cfsml.pl b/engines/sci/engine/cfsml.pl
index 6fc6606895..982a536b70 100644
--- a/engines/sci/engine/cfsml.pl
+++ b/engines/sci/engine/cfsml.pl
@@ -587,6 +587,7 @@ sub create_reader
print " return CFSML_FAILURE;\n";
print " }\n\n";
print " lastval++; /* ...and skip the opening quotes locally */\n";
+ print " length--;\n";
print " }\n";
print " *save_struc = _cfsml_unmangle_string(lastval, length);\n";
print " _cfsml_register_pointer(*save_struc);\n";