[Scummvm-cvs-logs] SF.net SVN: scummvm: [26893] scummvm/trunk/engines/parallaction/disk.cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Sun May 20 19:17:49 CEST 2007
Revision: 26893
http://scummvm.svn.sourceforge.net/scummvm/?rev=26893&view=rev
Author: peres001
Date: 2007-05-20 10:17:48 -0700 (Sun, 20 May 2007)
Log Message:
-----------
Fixed bug. snprintf counts the termination character on Linux, but not on Windows, so had to resort to another solution.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/disk.cpp
Modified: scummvm/trunk/engines/parallaction/disk.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/disk.cpp 2007-05-20 16:38:18 UTC (rev 26892)
+++ scummvm/trunk/engines/parallaction/disk.cpp 2007-05-20 17:17:48 UTC (rev 26893)
@@ -285,7 +285,7 @@
name += 4;
}
- snprintf(path, 8, "%shead", name);
+ sprintf(path, "%shead", name);
path[8] = '\0';
return loadExternalStaticCnv(path);
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