[Scummvm-cvs-logs] SF.net SVN: scummvm:[51698] scummvm/trunk/engines/kyra/screen_v2.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Tue Aug 3 17:09:39 CEST 2010
Revision: 51698
http://scummvm.svn.sourceforge.net/scummvm/?rev=51698&view=rev
Author: lordhoto
Date: 2010-08-03 15:09:39 +0000 (Tue, 03 Aug 2010)
Log Message:
-----------
KYRA3: Fix bug in Screen_v2::generateOverlay.
Uncovered by a valgrind warning.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/screen_v2.cpp
Modified: scummvm/trunk/engines/kyra/screen_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/screen_v2.cpp 2010-08-03 15:04:56 UTC (rev 51697)
+++ scummvm/trunk/engines/kyra/screen_v2.cpp 2010-08-03 15:09:39 UTC (rev 51698)
@@ -53,7 +53,7 @@
uint8 *dst = buffer;
*dst++ = 0;
- for (int i = 1; i != 255; ++i) {
+ for (int i = 1; i != 256; ++i) {
uint8 processedPalette[3];
byte col;
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