|| !UNSPECIFIEDP (LFACE_SLANT (lface))
|| !UNSPECIFIEDP (LFACE_HEIGHT (lface))))
{
- Lisp_Object xlfd = font_xlfd_name (LFACE_FONT (lface))
+ Lisp_Object xlfd = Ffont_xlfd_name (LFACE_FONT (lface));
#ifdef USE_MOTIF
const char *suffix = "List";
Bool motif = True;
P_ ((char *base_fontname, Bool motif));
char *fontsetname = xic_create_fontsetname (SDATA (xlfd), motif);
#else
- char *fontsetname = SDATA (xlfd);
+ char *fontsetname = (char *) SDATA (xlfd);
#endif
sprintf (line, "%s.pane.menubar*font%s: %s",
myname, suffix, fontsetname);
myname, popup_path, suffix, fontsetname);
XrmPutLineResource (&rdb, line);
changed_p = 1;
- if (fontsetname != SDATA (xlfd))
+ if (fontsetname != (char *) SDATA (xlfd))
xfree (fontsetname);
}
}
#ifdef USE_LUCID
/* Prevent lwlib/xlwmenu.c from crashing because of a bug
whereby it fails to get any font. */
- xlwmenu_default_font = FRAME_FONT (f);
+ xlwmenu_default_font = XLoadQueryFont (FRAME_X_DISPLAY (f), "fixed");
#endif
/* Frame contents get displaced if an embedded X window has a border. */