X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ea258ad3489638fbcf504a674f8793b1362bd2b5..e63fdcd600e2eb717a19f9fa2895e9256e83c890:/src/xpm/create.c?ds=sidebyside diff --git a/src/xpm/create.c b/src/xpm/create.c index a40b9882f7..1105c1fb3d 100644 --- a/src/xpm/create.c +++ b/src/xpm/create.c @@ -267,7 +267,7 @@ AllocColor( static int AllocColor(display, colormap, colorname, xcolor, closure) Display *display; - Colormap* colormap; + Colormap colormap; char *colorname; XColor *xcolor; void *closure; /* not used */ @@ -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 */