From: handa Date: Fri, 12 Oct 2007 05:33:36 +0000 (+0000) Subject: (device_open): Use mplist_add, not mplist_push. X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48ffeff2a587c6eb7a0968c684d3564700dd6fb1;p=m17n%2Fm17n-lib.git (device_open): Use mplist_add, not mplist_push. --- diff --git a/src/m17n-X.c b/src/m17n-X.c index 6114c75..dfe5cf8 100644 --- a/src/m17n-X.c +++ b/src/m17n-X.c @@ -2257,7 +2257,7 @@ device_open (MFrame *frame, MPlist *param) mplist_add (frame->font_driver_list, Mfreetype, &mfont__ft_driver); #endif /* HAVE_FREETYPE */ if (use_xfont || MPLIST_TAIL_P (frame->font_driver_list)) - mplist_push (frame->font_driver_list, Mx, &xfont_driver); + mplist_add (frame->font_driver_list, Mx, &xfont_driver); frame->realized_font_list = device->realized_font_list; frame->realized_face_list = device->realized_face_list;