]> git.eshelyaron.com Git - emacs.git/commitdiff
(tty_defined_color): Don't return faulire indication
authorEli Zaretskii <eliz@gnu.org>
Thu, 17 Feb 2000 15:32:52 +0000 (15:32 +0000)
committerEli Zaretskii <eliz@gnu.org>
Thu, 17 Feb 2000 15:32:52 +0000 (15:32 +0000)
for unspecified-fg and unspecified-bg pseudo-colors.

src/ChangeLog
src/xfaces.c

index a383d08cc1fb5844e0574b32856dbd728ea4ed9a..26f5f8869a7e77b565fc7c8d9dcceae64474822d 100644 (file)
@@ -1,3 +1,8 @@
+2000-02-17  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * xfaces.c (tty_defined_color): Don't return faulire indication
+       for unspecified-fg and unspecified-bg pseudo-colors.
+
 2000-02-17  Gerd Moellmann  <gerd@gnu.org>
 
        * alloc.c (mark_object): Don't mark symbol names in pure space.
index 30f122d86514d8125ad0e10fb290c91d3af656c2..55799d183d1bc2118ea890b2abe02657a3f8dfb1 100644 (file)
@@ -1122,6 +1122,9 @@ tty_defined_color (f, color_name, color_def, alloc)
        color_idx = FACE_TTY_DEFAULT_BG_COLOR;
     }
 
+  if (color_idx != FACE_TTY_DEFAULT_COLOR)
+    status = 1;
+
   color_def->pixel = color_idx;
   color_def->red = red;
   color_def->green = green;