changeset 90629:c4849318378c

(font_unparse_fcname): Pay attention to the case that foundry is a null string.
author Kenichi Handa <handa@m17n.org>
date Mon, 23 Oct 2006 11:24:55 +0000
parents 33e4b2f80259
children 59f79772323b
files src/font.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/font.c	Mon Oct 23 06:20:14 2006 +0000
+++ b/src/font.c	Mon Oct 23 11:24:55 2006 +0000
@@ -1253,7 +1253,7 @@
     }
 
   val = AREF (font, FONT_FOUNDRY_INDEX);
-  if (! NILP (val))
+  if (SYMBOLP (val) && ! NILP (val))
     /* ":foundry=NAME" */
     len += 9 + SBYTES (SYMBOL_NAME (val));