/[xforms]/xforms/lib/flcolor.c
ViewVC logotype

Diff of /xforms/lib/flcolor.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by leeming, Thu Apr 24 09:35:34 2003 UTC revision 1.6 by leeming, Tue Sep 9 00:28:25 2003 UTC
# Line 807  fl_get_rgb_pixel(FL_COLOR packed, int *n Line 807  fl_get_rgb_pixel(FL_COLOR packed, int *n
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)

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26