From: Reuben Perelman
Launching setup.exe on the starcraft CD immediatly causes a BSOD.
Does the patch below fix this?
Gé van Geldorp.
Index: objects/dib.c
===================================================================
--- objects/dib.c (revision 17937)
+++ objects/dib.c (working copy)
@@ -847,7 +847,13 @@
}
if(usage == DIB_PAL_COLORS)
+ {
lpRGB = DIB_MapPaletteColors(dc, bmi);
+ if (NULL == lpRGB)
+ {
+ lpRGB = bmi->bmiColors;
+ }
+ }
else
lpRGB = bmi->bmiColors;