mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
(font_unparse_fcname): Increase len when style is a symbol.
This commit is contained in:
parent
c721821652
commit
f3b9e4791f
@ -1,3 +1,7 @@
|
||||
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$(Q)Z(Brv <jan.h.d@swipnet.se>
|
||||
|
||||
* xterm.c (handle_one_xevent): For Gtk+ and ConfigureNotify, call
|
||||
|
@ -1462,9 +1462,10 @@ font_unparse_fcname (font, pixel_size, name, nbytes)
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user