mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 05:17:35 +00:00
* w32fns.c (w32_load_system_font): Clear all members of FONTP before
filling them. * w32bdf.c (w32_load_bdf_font): Likewise.
This commit is contained in:
parent
317e609b97
commit
0d4c2dc2bb
3 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2003-10-02 Jason Rumney <jasonr@gnu.org>
|
||||
|
||||
* w32fns.c (w32_load_system_font): Clear all members of FONTP before
|
||||
filling them.
|
||||
|
||||
* w32bdf.c (w32_load_bdf_font): Likewise.
|
||||
|
||||
2003-09-30 Richard M. Stallman <rms@gnu.org>
|
||||
|
||||
* term.c (set_tty_color_mode): Calculate current_mode_spec
|
||||
|
|
|
|||
|
|
@ -768,6 +768,7 @@ struct font_info *w32_load_bdf_font (struct frame *f, char *fontname,
|
|||
|
||||
/* Now fill in the slots of *FONTP. */
|
||||
BLOCK_INPUT;
|
||||
bzero (fontp, sizeof (*fontp));
|
||||
fontp->font = font;
|
||||
fontp->font_idx = dpyinfo->n_fonts;
|
||||
fontp->name = (char *) xmalloc (strlen (fontname) + 1);
|
||||
|
|
|
|||
|
|
@ -4784,6 +4784,7 @@ w32_load_system_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 (fontname) + 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue