[Scummvm-cvs-logs] SF.net SVN: scummvm:[38351] scummvm/trunk/engines/sci/engine/game.cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Mon Feb 16 08:17:37 CET 2009


Revision: 38351
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38351&view=rev
Author:   aquadran
Date:     2009-02-16 07:17:36 +0000 (Mon, 16 Feb 2009)

Log Message:
-----------
initialize palette buffers (compiler warning) 

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/game.cpp

Modified: scummvm/trunk/engines/sci/engine/game.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/game.cpp	2009-02-16 07:06:12 UTC (rev 38350)
+++ scummvm/trunk/engines/sci/engine/game.cpp	2009-02-16 07:17:36 UTC (rev 38351)
@@ -213,6 +213,8 @@
 		// This bit sets the foreground and background colors in VGA SCI games
 		gfx_color_t fgcolor;
 		gfx_color_t bgcolor;
+		memset(&fgcolor, 0, sizeof(gfx_color_t));
+		memset(&bgcolor, 0, sizeof(gfx_color_t));
 
 #if 0
 		fgcolor.visual = s->gfx_state->resstate->static_palette[0];


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