]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_load_font): Initialize fontp->fontset to -1.
authorKenichi Handa <handa@m17n.org>
Thu, 1 Aug 2002 05:42:48 +0000 (05:42 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 1 Aug 2002 05:42:48 +0000 (05:42 +0000)
src/xterm.c

index 93aee69e30719b5512b446604c8b6b3dfcbbf7bf..e4b1349863d8fdd32281b29423ec5393917c15dd 100644 (file)
@@ -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);