[Scummvm-cvs-logs] SF.net SVN: scummvm: [32088] scummvm/branches/gsoc2008-rtl/engines/agos/ draw.cpp
cpage88 at users.sourceforge.net
cpage88 at users.sourceforge.net
Tue May 13 18:09:58 CEST 2008
Revision: 32088
http://scummvm.svn.sourceforge.net/scummvm/?rev=32088&view=rev
Author: cpage88
Date: 2008-05-13 09:09:57 -0700 (Tue, 13 May 2008)
Log Message:
-----------
used memmove() instead of memcpy() to fix memory overlap error
Modified Paths:
--------------
scummvm/branches/gsoc2008-rtl/engines/agos/draw.cpp
Modified: scummvm/branches/gsoc2008-rtl/engines/agos/draw.cpp
===================================================================
--- scummvm/branches/gsoc2008-rtl/engines/agos/draw.cpp 2008-05-13 15:52:01 UTC (rev 32087)
+++ scummvm/branches/gsoc2008-rtl/engines/agos/draw.cpp 2008-05-13 16:09:57 UTC (rev 32088)
@@ -473,7 +473,7 @@
animTable = animTableTmp = _screenAnim1;
while (animTable->srcPtr) {
if (!(animTable->windowNum & 0x8000)) {
- memcpy(animTableTmp, animTable, sizeof(AnimTable));
+ memmove(animTableTmp, animTable, sizeof(AnimTable));
animTableTmp++;
}
animTable++;
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