[Scummvm-cvs-logs] SF.net SVN: scummvm:[39597] scummvm/trunk/engines/scumm/script_v5.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Sat Mar 21 20:38:33 CET 2009
Revision: 39597
http://scummvm.svn.sourceforge.net/scummvm/?rev=39597&view=rev
Author: mthreepwood
Date: 2009-03-21 19:38:33 +0000 (Sat, 21 Mar 2009)
Log Message:
-----------
Check for a suffix of "-iq" when saving the iq points. Should fix bug #2701064.
Modified Paths:
--------------
scummvm/trunk/engines/scumm/script_v5.cpp
Modified: scummvm/trunk/engines/scumm/script_v5.cpp
===================================================================
--- scummvm/trunk/engines/scumm/script_v5.cpp 2009-03-21 18:17:24 UTC (rev 39596)
+++ scummvm/trunk/engines/scumm/script_v5.cpp 2009-03-21 19:38:33 UTC (rev 39597)
@@ -2089,7 +2089,7 @@
while ((chr = fetchScriptByte()))
filename += chr;
- if (filename.hasPrefix("iq-")) {
+ if (filename.hasPrefix("iq-") || filename.hasSuffix("-iq")) {
filename = _targetName + ".iq";
} else {
error("SO_SAVE_STRING: Unsupported filename %s\n", filename.c_str());
@@ -2114,7 +2114,7 @@
while ((chr = fetchScriptByte()))
filename += chr;
- if (filename.hasPrefix("iq-")) {
+ if (filename.hasPrefix("iq-") || filename.hasSuffix("-iq")) {
filename = _targetName + ".iq";
} else {
error("SO_SAVE_STRING: Unsupported filename %s\n", filename.c_str());
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list