changeset 27743:2e020ab026b8

(tty_defined_color): Don't return faulire indication for unspecified-fg and unspecified-bg pseudo-colors.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 17 Feb 2000 15:31:35 +0000
parents 6f036c5e2a10
children 232956edbeca
files src/xfaces.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Thu Feb 17 15:23:58 2000 +0000
+++ b/src/xfaces.c	Thu Feb 17 15:31:35 2000 +0000
@@ -1122,6 +1122,9 @@
 	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;