From 83a09b5723594f7abbbe8e7487f406569b5267be Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Fri, 10 Sep 2010 00:48:01 +0200 Subject: Using the proper attribute set functions. --- iup/src/iup_text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iup/src/iup_text.c b/iup/src/iup_text.c index 6042970..8be24ae 100755 --- a/iup/src/iup_text.c +++ b/iup/src/iup_text.c @@ -119,8 +119,8 @@ int iupTextSetAddFormatTagHandleAttrib(Ihandle* ih, const char* value) char* cleanout = iupAttribGet(formattag, "CLEANOUT"); if (cleanout && iupStrBoolean(cleanout)) { - iupAttribSetStr(ih, "SELECTION", "ALL"); - iupAttribSetStr(ih, "REMOVEFORMATTING", NULL); + IupSetAttribute(ih, "SELECTION", "ALL"); + IupSetAttribute(ih, "REMOVEFORMATTING", NULL); } for (child = IupGetNextChild(formattag, NULL); child; child = IupGetNextChild(formattag, child)) iupdrvTextAddFormatTag(ih, child, 1); -- cgit v1.2.3