summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-09-10 00:48:01 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-09-10 00:48:37 +0200
commit83a09b5723594f7abbbe8e7487f406569b5267be (patch)
tree2e4c01fbd48f2f353251ec8bfcfd29d444eddb50
parentc238f727943fd3b4b8a46be816da54e10aca35d2 (diff)
Using the proper attribute set functions.
-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);