1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-06 22:12:30 -08:00

(font_unparse_fcname): Pay attention to the case that

foundry is a null string.
This commit is contained in:
Kenichi Handa 2006-10-23 11:24:55 +00:00
parent 46d06e5e2b
commit 8e1ef8fd7a

View file

@ -1253,7 +1253,7 @@ font_unparse_fcname (font, pixel_size, name, nbytes)
}
val = AREF (font, FONT_FOUNDRY_INDEX);
if (! NILP (val))
if (SYMBOLP (val) && ! NILP (val))
/* ":foundry=NAME" */
len += 9 + SBYTES (SYMBOL_NAME (val));