]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_clear_image_1): Disable color table code.
authorJason Rumney <jasonr@gnu.org>
Thu, 21 Mar 2002 19:32:01 +0000 (19:32 +0000)
committerJason Rumney <jasonr@gnu.org>
Thu, 21 Mar 2002 19:32:01 +0000 (19:32 +0000)
src/ChangeLog
src/w32fns.c

index 49835ba93c08d0f655292e0b20f84ce5b8f32885..56d5076d0218a10f3c76bf1f26789378a5b29397 100644 (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
index 4cf12d0f988d6bd66f695b7c6bc3ae6a4eb5a720..dbac0492753fa8115ae747675cc9428737ed0864 100644 (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;