In lwlib/xlwmenu.c we call XmStringLtoRCreate at lines 443 (see below)
and also at 814. Is it possible that those calls fail? Should we
check?
I have a report of a crash somewhere around there. Alas I didn't even
find a man page for this function.
any comments?
#ifdef NEED_MOTIF
newstring = XmStringLtoRCreate (newchars, XmFONTLIST_DEFAULT_TAG);
XmStringExtent (mw->menu.font_list, newstring, &width, &height);
XmStringFree (newstring);
XtFree (chars);
return width;
#else
Gunnar
--
Gunnar Evermann
Speech, Vision & Robotics Group
Engineering Department
Cambridge University