aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2002-03-21 19:32:01 +0000
committerJason Rumney2002-03-21 19:32:01 +0000
commitbf76fe9c57b03f657dd84f17dc8a541e787b74e3 (patch)
treeb405a9348c781c562eb4ef74255a6f657bc237ac /src
parent3efe555424e2382bdd49bff9fdcf3043fe7e1484 (diff)
downloademacs-bf76fe9c57b03f657dd84f17dc8a541e787b74e3.tar.gz
emacs-bf76fe9c57b03f657dd84f17dc8a541e787b74e3.zip
(x_clear_image_1): Disable color table code.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/w32fns.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 49835ba93c0..56d5076d021 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12002-03-21 Jason Rumney <jasonr@gnu.org>
2
3 * w32fns.c (x_clear_image_1): Disable color table code.
4
12002-03-21 Kim F. Storm <storm@cua.dk> 52002-03-21 Kim F. Storm <storm@cua.dk>
2 6
3 * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch 7 * 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)
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;