Charles Davis cdavis5x@gmail.com writes:
@@ -1149,9 +1154,7 @@ static BOOL X11DRV_CLIPBOARD_RenderSynthesizedBitmap(Display *display) lpbmih = GlobalLock(lpSource->hData); if (lpbmih) {
offset = sizeof(BITMAPINFOHEADER)
+ ((lpbmih->biBitCount <= 8) ? (sizeof(RGBQUAD) *
(1 << lpbmih->biBitCount)) : 0);
offset = lpbmih->biSize - lpbmih->biSizeImage;
This doesn't look right.