[Scummvm-cvs-logs] SF.net SVN: scummvm: [29982] scummvm/trunk/engines/cine/cine.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Mon Dec 24 20:49:28 CET 2007
Revision: 29982
http://scummvm.svn.sourceforge.net/scummvm/?rev=29982&view=rev
Author: sev
Date: 2007-12-24 11:49:28 -0800 (Mon, 24 Dec 2007)
Log Message:
-----------
_Properly_ fix lock-up introduced introduced in revision 29860. A typical
c/p error.
Revision Links:
--------------
http://scummvm.svn.sourceforge.net/scummvm/?rev=29860&view=rev
Modified Paths:
--------------
scummvm/trunk/engines/cine/cine.cpp
Modified: scummvm/trunk/engines/cine/cine.cpp
===================================================================
--- scummvm/trunk/engines/cine/cine.cpp 2007-12-24 19:13:32 UTC (rev 29981)
+++ scummvm/trunk/engines/cine/cine.cpp 2007-12-24 19:49:28 UTC (rev 29982)
@@ -128,11 +128,11 @@
loadErrmessDat("errmess.dat");
}
- memset(objectTable, 0, ARRAYSIZE(objectTable));
- memset(globalVars, 0, ARRAYSIZE(globalVars));
- memset(scriptTable, 0, ARRAYSIZE(scriptTable));
- memset(messageTable, 0, ARRAYSIZE(scriptTable));
- memset(relTable, 0, ARRAYSIZE(scriptTable));
+ memset(objectTable, 0, sizeof(objectTable));
+ memset(globalVars, 0, sizeof(globalVars));
+ memset(scriptTable, 0, sizeof(scriptTable));
+ memset(messageTable, 0, sizeof(messageTable));
+ memset(relTable, 0, sizeof(relTable));
for (int i = 0; i < NUM_MAX_ANIMDATA; i++) {
animDataTable[i].ptr1 = animDataTable[i].ptr2 = NULL;
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