diff options
-rw-r--r-- | src/xterm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 13f4d021766..4d4ce822dd0 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -9869,6 +9869,7 @@ x_load_font (f, fontname, size) /* Now fill in the slots of *FONTP. */ BLOCK_INPUT; + bzero (font, sizeof (*font)); fontp->font = font; fontp->font_idx = i; fontp->name = (char *) xmalloc (strlen (fontname) + 1); |