#endif
/*
- * Make sure "huge" is legal XXX XXX XXX
+ * Make sure "huge" is legal
*/
#undef huge
#ifdef WIN32
-# define huge /* oops */
+#define huge
#endif
goto ErrExit;
}
- if (!(nNumColors == (WORD)lpbi->biClrUsed))
+ nNumColors = (WORD)lpbi->biClrUsed;
+ if (!nNumColors)
{
/* no color table for 24-bit, default size otherwise */
if (lpbi->biBitCount != 24)