changeset 33070:ca31e3965686

(resolve_face_name): Handle case that FACE_NAME is not a symbol or string.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 30 Oct 2000 15:36:11 +0000
parents ea3e57d2e495
children 8e2243368251
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Mon Oct 30 15:26:46 2000 +0000
+++ b/src/xfaces.c	Mon Oct 30 15:36:11 2000 +0000
@@ -2884,7 +2884,7 @@
   if (STRINGP (face_name))
     face_name = intern (XSTRING (face_name)->data);
 
-  for (;;)
+  while (SYMBOLP (face_name))
     {
       aliased = Fget (face_name, Qface_alias);
       if (NILP (aliased))