1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 05:01:02 -08:00

(x_clear_image_1): Disable color table code.

This commit is contained in:
Jason Rumney 2002-03-21 19:32:01 +00:00
parent 3efe555424
commit bf76fe9c57
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2002-03-21 Jason Rumney <jasonr@gnu.org>
* w32fns.c (x_clear_image_1): Disable color table code.
2002-03-21 Kim F. Storm <storm@cua.dk>
* lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch

View file

@ -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;