comparison src/event-Xt.c @ 3094:ad2f4ae9895b

[xemacs-hg @ 2005-11-26 11:45:47 by stephent] Xft merge. <87k6ev4p8q.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Sat, 26 Nov 2005 11:46:25 +0000
parents 4c038e89d563
children 77f5a5135b3a
comparison
equal deleted inserted replaced
3093:769dc945b085 3094:ad2f4ae9895b
2984 NULL, 0); 2984 NULL, 0);
2985 status = XAllocNamedColor(dpy, colormap, (char*)str, &screenColor, &exactColor); 2985 status = XAllocNamedColor(dpy, colormap, (char*)str, &screenColor, &exactColor);
2986 } else { 2986 } else {
2987 status = XParseColor (dpy, colormap, (char*)str, &screenColor); 2987 status = XParseColor (dpy, colormap, (char*)str, &screenColor);
2988 if (status) { 2988 if (status) {
2989 status = allocate_nearest_color (dpy, colormap, visual, &screenColor); 2989 status = x_allocate_nearest_color (dpy, colormap, visual, &screenColor);
2990 } 2990 }
2991 } 2991 }
2992 } else { 2992 } else {
2993 /* We haven't set up this device totally yet, so just punt */ 2993 /* We haven't set up this device totally yet, so just punt */
2994 status = XAllocNamedColor(dpy, colormap, (char*)str, &screenColor, &exactColor); 2994 status = XAllocNamedColor(dpy, colormap, (char*)str, &screenColor, &exactColor);