diff options
| author | Stefan Kangas | 2022-07-31 06:30:25 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-07-31 06:30:25 +0200 |
| commit | d9bd334ef367f3e16967ae2ed714ff419f2b5328 (patch) | |
| tree | e08882a1e9ec3c67c175a6e3dd63ef7f5e7f6d1f /src/macfont.m | |
| parent | 3d6af11c42453065d5ace1223fe99228b7927318 (diff) | |
| parent | eb11dae499fc395bbf3d51883ced6244c91019cf (diff) | |
| download | emacs-d9bd334ef367f3e16967ae2ed714ff419f2b5328.tar.gz emacs-d9bd334ef367f3e16967ae2ed714ff419f2b5328.zip | |
Merge from origin/emacs-28
eb11dae499 Improve documentation of column-related functions
c95a34c960 * src/macfont.m (macfont_open): Initialize font->space_wid...
31a6a37d45 Improve indexing of keymap variables
Diffstat (limited to 'src/macfont.m')
| -rw-r--r-- | src/macfont.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/macfont.m b/src/macfont.m index fe30908f5d6..4de056cb361 100644 --- a/src/macfont.m +++ b/src/macfont.m | |||
| @@ -2645,6 +2645,9 @@ macfont_open (struct frame * f, Lisp_Object entity, int pixel_size) | |||
| 2645 | font->pixel_size = size; | 2645 | font->pixel_size = size; |
| 2646 | font->driver = &macfont_driver; | 2646 | font->driver = &macfont_driver; |
| 2647 | font->encoding_charset = font->repertory_charset = -1; | 2647 | font->encoding_charset = font->repertory_charset = -1; |
| 2648 | /* Clear font->space_width so macfont_monospace_width_multiplier may | ||
| 2649 | not be confused by an uninitialized value. */ | ||
| 2650 | font->space_width = 0; | ||
| 2648 | 2651 | ||
| 2649 | block_input (); | 2652 | block_input (); |
| 2650 | 2653 | ||