From: Guillermo Rodriguez Garcia Date: Fri, 18 Feb 2000 16:10:11 +0000 (+0000) Subject: Solved a typo related to masks. Was setting *all* pixels in the mask X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/28026dc671bdb9f5648335ef882cc5c97ca268f3 Solved a typo related to masks. Was setting *all* pixels in the mask to rgb(0,0,0) - hence no mask at all :-) Corrected related OS/2 code as well (this is where the typo was introduced in the first place) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/xpm/create.c b/src/xpm/create.c index bef4c7963c..1105c1fb3d 100644 --- a/src/xpm/create.c +++ b/src/xpm/create.c @@ -563,9 +563,9 @@ SetColor(display, colormap, visual, colorname, color_index, *mask_pixel = 0; #else #ifdef __OS2__ - *mask_pixel = OS2RGB(0,0,0); + *mask_pixel = OS2RGB(255,255,255); #else - *mask_pixel = RGB(0,0,0); + *mask_pixel = RGB(255,255,255); #endif #endif /* store the color table index */