diff options
| author | Jason Rumney | 2002-03-21 19:32:01 +0000 |
|---|---|---|
| committer | Jason Rumney | 2002-03-21 19:32:01 +0000 |
| commit | bf76fe9c57b03f657dd84f17dc8a541e787b74e3 (patch) | |
| tree | b405a9348c781c562eb4ef74255a6f657bc237ac /src | |
| parent | 3efe555424e2382bdd49bff9fdcf3043fe7e1484 (diff) | |
| download | emacs-bf76fe9c57b03f657dd84f17dc8a541e787b74e3.tar.gz emacs-bf76fe9c57b03f657dd84f17dc8a541e787b74e3.zip | |
(x_clear_image_1): Disable color table code.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/w32fns.c | 2 |
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 @@ | |||
| 1 | 2002-03-21 Jason Rumney <jasonr@gnu.org> | ||
| 2 | |||
| 3 | * w32fns.c (x_clear_image_1): Disable color table code. | ||
| 4 | |||
| 1 | 2002-03-21 Kim F. Storm <storm@cua.dk> | 5 | 2002-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; |