807 |
if (!xcolor) |
if (!xcolor) |
808 |
xcolor = fl_malloc(256 * sizeof(*xcolor)); |
xcolor = fl_malloc(256 * sizeof(*xcolor)); |
809 |
|
|
810 |
/* |
/* |
811 |
* not theoretically correct as colormap may have changed |
* not theoretically correct as colormap may have changed |
812 |
* since the last time we asked for colors. Take a chance for |
* since the last time we asked for colors. Take a chance for |
813 |
* performace. |
* performace. |
814 |
*/ |
*/ |
815 |
if (lastcolormap != s->colormap || new_col > 3) |
if (lastcolormap != s->colormap || new_col > 3) |