aboutsummaryrefslogtreecommitdiffstats
path: root/src/macterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/macterm.c')
-rw-r--r--src/macterm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macterm.c b/src/macterm.c
index 8c22d047939..fc9b890db18 100644
--- a/src/macterm.c
+++ b/src/macterm.c
@@ -6240,6 +6240,7 @@ x_load_font (f, fontname, size)
6240 6240
6241 /* Now fill in the slots of *FONTP. */ 6241 /* Now fill in the slots of *FONTP. */
6242 BLOCK_INPUT; 6242 BLOCK_INPUT;
6243 bzero (fontp, sizeof (*fontp));
6243 fontp->font = font; 6244 fontp->font = font;
6244 fontp->font_idx = i; 6245 fontp->font_idx = i;
6245 fontp->name = (char *) xmalloc (strlen (font->fontname) + 1); 6246 fontp->name = (char *) xmalloc (strlen (font->fontname) + 1);