diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-09-10 00:48:01 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-09-10 00:48:37 +0200 |
commit | 83a09b5723594f7abbbe8e7487f406569b5267be (patch) | |
tree | 2e4c01fbd48f2f353251ec8bfcfd29d444eddb50 /iup/src | |
parent | c238f727943fd3b4b8a46be816da54e10aca35d2 (diff) |
Using the proper attribute set functions.
Diffstat (limited to 'iup/src')
-rwxr-xr-x | iup/src/iup_text.c | 4 |
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); |