diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-09-09 23:12:38 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-09-09 23:12:38 +0200 |
commit | b9bee040c513f75a81ccd75095fc85e4ca540170 (patch) | |
tree | b0b4b93266884a4150abab9dcab60db489252249 /iup/src | |
parent | f067ce79b19e7f23940510dfa88fb5fc9febc41d (diff) |
Typo.
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 cd8f400..06c6915 100755 --- a/iup/src/iup_text.c +++ b/iup/src/iup_text.c @@ -84,7 +84,7 @@ void iupTextUpdateFormatTags(Ihandle* ih) for (i = 0; i < count; i++) { char* bulk = iupAttribGet(tag_array[i], "BULK"); - if (format && iupStrBoolean(format)) + if (bulk && iupStrBoolean(bulk)) { Ihandle* child = NULL; void* state = iupdrvTextAddFormatTagStartBulk(ih); @@ -112,7 +112,7 @@ int iupTextSetAddFormatTagHandleAttrib(Ihandle* ih, const char* value) iTextUpdateValueAttrib(ih); char* bulk = iupAttribGet(formattag, "BULK"); - if (format && iupStrBoolean(format)) + if (bulk && iupStrBoolean(bulk)) { Ihandle* child = NULL; void* state = iupdrvTextAddFormatTagStartBulk(ih); |