From: Jason Rumney Date: Thu, 21 Mar 2002 19:32:01 +0000 (+0000) Subject: (x_clear_image_1): Disable color table code. X-Git-Tag: ttn-vms-21-2-B4~16036 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bf76fe9c57b03f657dd84f17dc8a541e787b74e3;p=emacs.git (x_clear_image_1): Disable color table code. --- 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;