[Scummvm-cvs-logs] CVS: scummvm/sky screen.cpp,1.1,1.2

Pawel Kolodziejski aquadran at users.sourceforge.net
Wed Mar 5 15:58:06 CET 2003


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv28420

Modified Files:
	screen.cpp 
Log Message:
forgot one

Index: screen.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/screen.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- screen.cpp	5 Mar 2003 19:04:34 -0000	1.1
+++ screen.cpp	5 Mar 2003 23:57:32 -0000	1.2
@@ -19,6 +19,7 @@
  *
  */
 
+#include "stdafx.h"
 #include <string.h>
 #include "common/scummsys.h"
 #include "sky/skydefs.h"
@@ -61,7 +62,7 @@
     _work_palette = (uint8 *)malloc(vga_colours*3);
 
     //blank the first 240 colors of the palette 
-    bzero(tmp_pal, game_colours*4);   
+    memset(tmp_pal, 0, game_colours * 4);   
 
     //set the remaining colors
     for (i=0; i<(vga_colours-game_colours); i++) {





More information about the Scummvm-git-logs mailing list