# HG changeset patch # User Kenichi Handa # Date 1065060342 0 # Node ID 5c843bc4a3de81dadf89ab10e541282b3251e398 # Parent 0470caf8112d868034bb4496889395ef2581b8de (x_load_font): Clear all members of FONTP before start filling them. diff -r 0470caf8112d -r 5c843bc4a3de src/xterm.c --- a/src/xterm.c Thu Oct 02 01:42:11 2003 +0000 +++ b/src/xterm.c Thu Oct 02 02:05:42 2003 +0000 @@ -9869,6 +9869,7 @@ /* 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);