|
From: Daniel J S. <dan...@ie...> - 2007-01-10 21:59:34
|
Ethan Merritt wrote: > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > --- gnuplot-old/src/gplt_x11.c 2006-12-28 10:25:50.000000000 -0800 > +++ gnuplot-new/src/gplt_x11.c 2007-01-10 13:31:15.000000000 -0800 > @@ -3578,6 +3578,7 @@ > index = plot->cmap->allocated -1; > > XSetForeground(dpy, gc, plot->cmap->pixels[index]); > + plot->current_rgb = plot->cmap->rgbcolors[index]; > } > } You typed too quickly; replace rgbcolors[index] by pixels[index] in the above and it works great. Dan |