From 0101149c7a28f0863b3f5a8e0faa2913ccede6c2 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 24 Oct 2011 07:51:30 +0200 Subject: [PATCH] winex11.drv: WORD and BYTE swapped in 555->1 bit converter (Coverity). --- dlls/winex11.drv/dib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/winex11.drv/dib.c b/dlls/winex11.drv/dib.c index a1ce9bb5411..b70dcfa4f90 100644 --- a/dlls/winex11.drv/dib.c +++ b/dlls/winex11.drv/dib.c @@ -594,12 +594,13 @@ static void X11DRV_DIB_GetImageBits_1( int lines, BYTE *dstbits, } else if (bmpImage->blue_mask==0x7c00) { /* ==== bgr 555 bmp -> pal 1 dib ==== */ for (h=0; h