From: Kenichi Handa Date: Thu, 1 Aug 2002 05:42:48 +0000 (+0000) Subject: (x_load_font): Initialize fontp->fontset to -1. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~464 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d8891a0f51d6349f8247cbb5937aa10b8b1bc688;p=emacs.git (x_load_font): Initialize fontp->fontset to -1. --- diff --git a/src/xterm.c b/src/xterm.c index 93aee69e307..e4b1349863d 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -14286,6 +14286,7 @@ x_load_font (f, fontname, size) BLOCK_INPUT; fontp->font = font; fontp->font_idx = i; + fontp->charset = -1; /* fs_load_font sets it. */ fontp->name = (char *) xmalloc (strlen (fontname) + 1); bcopy (fontname, fontp->name, strlen (fontname) + 1);