Commit e559b126 authored by Kenichi Handa's avatar Kenichi Handa

(x_load_font): Clear all members of FONTP before start filling them.

parent ac1fa19d
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment