mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
* src/macfont.m (macfont_open): Initialize font->space_width. (Bug#56808)
This commit is contained in:
parent
31a6a37d45
commit
c95a34c960
1 changed files with 3 additions and 0 deletions
|
|
@ -2628,6 +2628,9 @@ macfont_open (struct frame * f, Lisp_Object entity, int pixel_size)
|
|||
font->pixel_size = size;
|
||||
font->driver = &macfont_driver;
|
||||
font->encoding_charset = font->repertory_charset = -1;
|
||||
/* Clear font->space_width so macfont_monospace_width_multiplier may
|
||||
not be confused by an uninitialized value. */
|
||||
font->space_width = 0;
|
||||
|
||||
block_input ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue