summaryrefslogtreecommitdiff
path: root/iup/src
diff options
context:
space:
mode:
Diffstat (limited to 'iup/src')
-rwxr-xr-xiup/src/iup_text.c4
1 files 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);