comparison src/xterm.c @ 52730:7535333d9c75

(x_load_font): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Thu, 02 Oct 2003 02:08:56 +0000
parents 5c843bc4a3de
children 751a01f97570
comparison
equal deleted inserted replaced
52729:124a3516f4db 52730:7535333d9c75
9867 if (i == dpyinfo->n_fonts) 9867 if (i == dpyinfo->n_fonts)
9868 ++dpyinfo->n_fonts; 9868 ++dpyinfo->n_fonts;
9869 9869
9870 /* Now fill in the slots of *FONTP. */ 9870 /* Now fill in the slots of *FONTP. */
9871 BLOCK_INPUT; 9871 BLOCK_INPUT;
9872 bzero (font, sizeof (*font)); 9872 bzero (fontp, sizeof (*fontp));
9873 fontp->font = font; 9873 fontp->font = font;
9874 fontp->font_idx = i; 9874 fontp->font_idx = i;
9875 fontp->name = (char *) xmalloc (strlen (fontname) + 1); 9875 fontp->name = (char *) xmalloc (strlen (fontname) + 1);
9876 bcopy (fontname, fontp->name, strlen (fontname) + 1); 9876 bcopy (fontname, fontp->name, strlen (fontname) + 1);
9877 9877