--- np2/win9x/subwind.cpp 2004/03/25 10:41:13 1.2 +++ np2/win9x/subwind.cpp 2004/03/26 06:47:11 1.4 @@ -416,6 +416,8 @@ typedef struct { HWND hwnd; WINLOCEX wlex; DD2HDL dd2hdl; + int width; + int height; } SKBDWIN; typedef struct { @@ -440,17 +442,29 @@ static void skpalcnv(CMNPAL *dst, RGB32 UINT i; switch(bpp) { +#if defined(SUPPORT_8BPP) + case 8: + break; +#endif +#if defined(SUPPORT_16BPP) case 16: for (i=0; i