diff options
Diffstat (limited to 'src/macterm.c')
-rw-r--r-- | src/macterm.c | 1 |
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) /* Now fill in the slots of *FONTP. */ BLOCK_INPUT; + bzero (fontp, sizeof (*fontp)); fontp->font = font; fontp->font_idx = i; fontp->name = (char *) xmalloc (strlen (font->fontname) + 1); |