diff --git a/src/ChangeLog b/src/ChangeLog index 49835ba93c0..56d5076d021 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-03-21 Jason Rumney + + * w32fns.c (x_clear_image_1): Disable color table code. + 2002-03-21 Kim F. Storm * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch diff --git a/src/w32fns.c b/src/w32fns.c index 4cf12d0f988..dbac0492753 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -8811,7 +8811,9 @@ x_clear_image_1 (f, img, pixmap_p, mask_p, colors_p) if (colors_p && img->ncolors) { +#if 0 /* TODO: color table support. */ x_free_colors (f, img->colors, img->ncolors); +#endif xfree (img->colors); img->colors = NULL; img->ncolors = 0;