* \8e\9f\82Ì\96â\91è\82ð\8fC\90³
* X11\8aÂ\8b«\82Å\93ú\96{\8cê\93ü\97Í\82ª\82Å\82«\82È\82¢ (#40562)
* \88ê\95\94\82Ì\83I\83v\83V\83\87\83\93\82Å\89p\8cê\82Ì\83t\83\8b\83l\81[\83\80\82ð\8eg\82¦\82È\82¢ (#40657)
+ * X11\94Å\82Åascii_map\82ª\90³\82µ\82\95\\8e¦\82³\82ê\82È\82¢ (#40530)
* X11LARGETILE\82ð\8dí\8f\9c(#40681)
* JNetHack.ad\82ð\8dÅ\90V\82É\8dX\90V(#40531)
mesg_info->char_lbearing, mesg_info->char_ascent + y_base,
curr->line, curr->str_length);
#else
+ /* GCを使い回さずにコピーしたものを使う */
+ GC gc = XCreateGC(XtDisplay(wp->w), XtWindow(wp->w), 0, NULL );
+ XtGCMask mask = GCFunction | GCForeground | GCBackground | GCFont;
+ XCopyGC(XtDisplay(wp->w), mesg_info->gc, mask, gc);
XmbDrawString(XtDisplay(wp->w), XtWindow(wp->w),
mesg_info->fontset,
- mesg_info->gc,
+ gc,
mesg_info->char_lbearing,
mesg_info->char_ascent + y_base,
curr->line,
curr->str_length);
+ XFreeGC(XtDisplay(wp->w), gc);
#endif
/*
* This draws a line at the _top_ of the line of text pointed to by