--- np2/wince/scrnmng.cpp 2004/07/17 20:43:02 1.10 +++ np2/wince/scrnmng.cpp 2004/07/19 14:24:05 1.11 @@ -103,7 +103,7 @@ static GXDisplayProperties GXGETDISPLAYP ret.cbyPitch = rfbi.cyStride; ret.cBPP = rfbi.wBPP; ret.ffFormat = 0; - switch(rfbi.wBPP) { + switch(rfbi.wFormat) { case RFBIFMT_565: ret.ffFormat |= kfDirect565; break;