diff options
author | Eli Zaretskii <eliz@gnu.org> | 1999-12-16 09:38:21 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 1999-12-16 09:38:21 +0000 |
commit | 363e4e4226195164a316ba23f9069feaa9898f4a (patch) | |
tree | da9f9635adf1b4ab8f2de3ddaba187905dcc9fea | |
parent | 6c27ec258db83cf695fdb7eb36b5dd324ddb9227 (diff) | |
download | emacs-363e4e4226195164a316ba23f9069feaa9898f4a.tar.gz |
(tty_defined_color): Fix last change.
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/xfaces.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f4bf9a92cc4..e877aa7e138 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +1999-12-16 Eli Zaretskii <eliz@is.elta.co.il> + + * xfaces.c (tty_defined_color): Fix last change. + 1999-12-15 Gerd Moellmann <gerd@gnu.org> * xdisp.c (redisplay_window) <optional new window start>: Check diff --git a/src/xfaces.c b/src/xfaces.c index dd51df034ac..2017edbfd9a 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -1090,7 +1090,7 @@ tty_defined_color (f, color_name, color_def, alloc) { status = 0; color_desc = call1 (Qtty_color_desc, build_string (color_name)); - if (!NILP (color_desc) && CONSP (color_desc)) + if (CONSP (color_desc) && CONSP (XCDR (color_desc))) { color_idx = XINT (XCAR (XCDR (color_desc))); if (CONSP (XCDR (XCDR (color_desc)))) |