aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2002-08-01 05:42:48 +0000
committerKenichi Handa2002-08-01 05:42:48 +0000
commitd8891a0f51d6349f8247cbb5937aa10b8b1bc688 (patch)
treeff5fd4a52155e469b679645a822aff38320fa2cf /src
parent4a3923ed6df667fdc3410453a93c4173903a8eee (diff)
downloademacs-d8891a0f51d6349f8247cbb5937aa10b8b1bc688.tar.gz
emacs-d8891a0f51d6349f8247cbb5937aa10b8b1bc688.zip
(x_load_font): Initialize fontp->fontset to -1.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c1
1 files changed, 1 insertions, 0 deletions
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)
14286 BLOCK_INPUT; 14286 BLOCK_INPUT;
14287 fontp->font = font; 14287 fontp->font = font;
14288 fontp->font_idx = i; 14288 fontp->font_idx = i;
14289 fontp->charset = -1; /* fs_load_font sets it. */
14289 fontp->name = (char *) xmalloc (strlen (fontname) + 1); 14290 fontp->name = (char *) xmalloc (strlen (fontname) + 1);
14290 bcopy (fontname, fontp->name, strlen (fontname) + 1); 14291 bcopy (fontname, fontp->name, strlen (fontname) + 1);
14291 14292