Mercurial > emacs
comparison src/xterm.c @ 88967:b604878589f4
(x_load_font): Initialize fontp->fontset to -1.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 01 Aug 2002 05:42:48 +0000 |
parents | daa40c211bfe |
children | 705b93129869 |
comparison
equal
deleted
inserted
replaced
88966:486c9c697d7f | 88967:b604878589f4 |
---|---|
14284 | 14284 |
14285 /* Now fill in the slots of *FONTP. */ | 14285 /* Now fill in the slots of *FONTP. */ |
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 |
14292 /* Try to get the full name of FONT. Put it in FULL_NAME. */ | 14293 /* Try to get the full name of FONT. Put it in FULL_NAME. */ |
14293 full_name = 0; | 14294 full_name = 0; |