icons uncoloured
Gerard Patel
gerard.patel at nerim.net
Tue Aug 21 12:36:02 CDT 2001
At 01:39 PM 21/08/2001 GMT, you wrote:
>I've just done a cvs update and recompiled and now the icons come up in
>gray, if at all.
>
>Is this a known issue?
I suspect it could be solved by this one I just sent to wine-patches
Gerard
Index: graphics/x11drv/bitmap.c
===================================================================
RCS file: /home/wine/wine/graphics/x11drv/bitmap.c,v
retrieving revision 1.32
diff -u -r1.32 bitmap.c
--- graphics/x11drv/bitmap.c 2001/08/20 19:19:18 1.32
+++ graphics/x11drv/bitmap.c 2001/08/21 14:17:07
@@ -73,7 +73,7 @@
if (hbitmap == dc->hBitmap) return hbitmap; /* nothing to do */
if (!(bmp = GDI_GetObjPtr( hbitmap, BITMAP_MAGIC ))) return 0;
- if (bmp->header.dwCount)
+ if (bmp->header.dwCount && (hbitmap != GetStockObject(DEFAULT_BITMAP)))
{
WARN( "Bitmap already selected in another DC\n" );
GDI_ReleaseObj( hbitmap );
~
~
More information about the wine-devel
mailing list