Win32 compile fix:

In the latest SDL12 CVS doesn’t compile on win32 without this patch:

–ryan.

-----snip-----

--- SDL/src/video/windib/SDL_dibvideo.c_orig	Fri Jun  1 02:59:59 2001
+++ SDL/src/video/windib/SDL_dibvideo.c	Fri Jun  1 03:00:10 2001
@@ -750,7 +750,7 @@
 			entries[i].peBlue  = colors[i].b;
 #ifndef _WIN32_WCE
 			entries[i].peFlags = PC_NOCOLLAPSE;
-else
+#else
 			entries[i].peFlags = 0;
 #endif

In the latest SDL12 CVS doesn’t compile on win32 without this patch:

Oops, thanks. It’s fixed in CVS. :slight_smile:

See ya!
-Sam Lantinga, Lead Programmer, Loki Software, Inc.