+2008-03-01 Jason Rumney <jasonr@gnu.org>
+
+ * font.c (font_unparse_fcname): Increase len when style is a symbol.
+
2008-03-01 Jan Dj\e$(Q)Z\e(Brv <jan.h.d@swipnet.se>
* xterm.c (handle_one_xevent): For Gtk+ and ConfigureNotify, call
if (INTEGERP (val))
{
val = prop_numeric_to_name (i, XINT (val));
- len += (strlen (style_names[i - FONT_WEIGHT_INDEX])
- + 2 + SBYTES (SYMBOL_NAME (val))); /* :xxx=NAME */
}
+ if (SYMBOLP (val) && ! NILP (val))
+ len += (strlen (style_names[i - FONT_WEIGHT_INDEX])
+ + 2 + SBYTES (SYMBOL_NAME (val))); /* :xxx=NAME */
styles[i - FONT_WEIGHT_INDEX] = val;
}