[Scummvm-cvs-logs] SF.net SVN: scummvm: [30507] tools/trunk/compress_scumm_bun.cpp
aquadran at users.sourceforge.net
aquadran at users.sourceforge.net
Tue Jan 15 23:01:51 CET 2008
Revision: 30507
http://scummvm.svn.sourceforge.net/scummvm/?rev=30507&view=rev
Author: aquadran
Date: 2008-01-15 14:01:51 -0800 (Tue, 15 Jan 2008)
Log Message:
-----------
fix nasty c&p bug
Modified Paths:
--------------
tools/trunk/compress_scumm_bun.cpp
Modified: tools/trunk/compress_scumm_bun.cpp
===================================================================
--- tools/trunk/compress_scumm_bun.cpp 2008-01-15 21:56:53 UTC (rev 30506)
+++ tools/trunk/compress_scumm_bun.cpp 2008-01-15 22:01:51 UTC (rev 30507)
@@ -1023,10 +1023,10 @@
break;
case 'TEXT':
if (!scumm_stricmp((const char *)(ptr + 8), "exit")) {
- marker[curIndexRegion].pos = READ_BE_UINT32(ptr + 4);
- marker[curIndexRegion].length = strlen((const char *)(ptr + 8)) + 1;
- marker[curIndexRegion].ptr = new char[marker[curIndexRegion].length];
- strcpy(marker[curIndexRegion].ptr, (const char *)(ptr + 8));
+ marker[curIndexMarker].pos = READ_BE_UINT32(ptr + 4);
+ marker[curIndexMarker].length = strlen((const char *)(ptr + 8)) + 1;
+ marker[curIndexMarker].ptr = new char[marker[curIndexMarker].length];
+ strcpy(marker[curIndexMarker].ptr, (const char *)(ptr + 8));
curIndexMarker++;
}
size = READ_BE_UINT32(ptr); ptr += size + 4;
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