# HG changeset patch # User Eli Zaretskii # Date 950801495 0 # Node ID 2e020ab026b8033b017c532b3bff36a918dc1901 # Parent 6f036c5e2a107504d1d6df56cda447391b668201 (tty_defined_color): Don't return faulire indication for unspecified-fg and unspecified-bg pseudo-colors. diff -r 6f036c5e2a10 -r 2e020ab026b8 src/xfaces.c --- 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;