changeset 45412:8c610da8ea94

* xfaces.c (merge_face_vector_with_property): Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.
author Ken Raeburn <raeburn@raeburn.org>
date Mon, 20 May 2002 08:06:45 +0000
parents 33a7c706dc9c
children 811ea3c0629c
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Mon May 20 08:06:39 2002 +0000
+++ b/src/xfaces.c	Mon May 20 08:06:45 2002 +0000
@@ -3451,7 +3451,7 @@
 	    add_to_log ("Invalid face color", color_name, Qnil);
 	}
       else if (SYMBOLP (first)
-	       && *XSYMBOL (first)->name->data == ':')
+	       && *XSTRING (SYMBOL_NAME (first))->data == ':')
 	{
 	  /* Assume this is the property list form.  */
 	  while (CONSP (prop) && CONSP (XCDR (prop)))