summaryrefslogtreecommitdiff
path: root/iup/src/mot/iupmot_font.c
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
committerPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
commiteed0eb6a476d54ce19aeff137984aa981d9e3976 (patch)
tree807891636efd2f87dcbd261e971216269973ae07 /iup/src/mot/iupmot_font.c
parentccc8261e4d48de89da4ddfe7b55e378ae0cd6f47 (diff)
Upgrading to iup 3.1
Diffstat (limited to 'iup/src/mot/iupmot_font.c')
-rwxr-xr-xiup/src/mot/iupmot_font.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/iup/src/mot/iupmot_font.c b/iup/src/mot/iupmot_font.c
index 8da06dd..42154b6 100755
--- a/iup/src/mot/iupmot_font.c
+++ b/iup/src/mot/iupmot_font.c
@@ -135,19 +135,19 @@ static XmFontList motFontCreateRenderTable(XFontStruct* fontstruct, int is_under
Arg args[10];
int num_args = 0;
- iupmotSetArg(args, num_args, XmNfontType, XmFONT_IS_FONT);
- iupmotSetArg(args, num_args, XmNfont, (XtPointer)fontstruct);
- iupmotSetArg(args, num_args, XmNloadModel, XmLOAD_IMMEDIATE);
+ iupMOT_SETARG(args, num_args, XmNfontType, XmFONT_IS_FONT);
+ iupMOT_SETARG(args, num_args, XmNfont, (XtPointer)fontstruct);
+ iupMOT_SETARG(args, num_args, XmNloadModel, XmLOAD_IMMEDIATE);
if (is_underline)
- iupmotSetArg(args, num_args, XmNunderlineType, XmSINGLE_LINE);
+ iupMOT_SETARG(args, num_args, XmNunderlineType, XmSINGLE_LINE);
else
- iupmotSetArg(args, num_args, XmNunderlineType, XmNO_LINE);
+ iupMOT_SETARG(args, num_args, XmNunderlineType, XmNO_LINE);
if (is_strikeout)
- iupmotSetArg(args, num_args, XmNstrikethruType, XmSINGLE_LINE);
+ iupMOT_SETARG(args, num_args, XmNstrikethruType, XmSINGLE_LINE);
else
- iupmotSetArg(args, num_args, XmNstrikethruType, XmNO_LINE);
+ iupMOT_SETARG(args, num_args, XmNstrikethruType, XmNO_LINE);
rendition = XmRenditionCreate(NULL, "", args, num_args);