comparison src/w32fns.c @ 44076:13f77e440e6e

(x_clear_image_1): Disable color table code.
author Jason Rumney <jasonr@gnu.org>
date Thu, 21 Mar 2002 19:31:23 +0000
parents 85388a495f68
children 16eb7bad861d
comparison
equal deleted inserted replaced
44075:7782e54757bb 44076:13f77e440e6e
8809 img->background_transparent_valid = 0; 8809 img->background_transparent_valid = 0;
8810 } 8810 }
8811 8811
8812 if (colors_p && img->ncolors) 8812 if (colors_p && img->ncolors)
8813 { 8813 {
8814 #if 0 /* TODO: color table support. */
8814 x_free_colors (f, img->colors, img->ncolors); 8815 x_free_colors (f, img->colors, img->ncolors);
8816 #endif
8815 xfree (img->colors); 8817 xfree (img->colors);
8816 img->colors = NULL; 8818 img->colors = NULL;
8817 img->ncolors = 0; 8819 img->ncolors = 0;
8818 } 8820 }
8819 } 8821 }