changeset 26913:9d6d94db8909

(tty_defined_color): Fix last change.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 16 Dec 1999 09:38:21 +0000
parents 3470e4fea708
children 09c7b74fa57f
files src/ChangeLog src/xfaces.c
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
Binary file src/ChangeLog has changed
--- a/src/xfaces.c	Wed Dec 15 17:46:18 1999 +0000
+++ b/src/xfaces.c	Thu Dec 16 09:38:21 1999 +0000
@@ -1090,7 +1090,7 @@
     {
       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))))