aboutsummaryrefslogtreecommitdiffstats
path: root/debugXML.c
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2003-10-18 16:20:14 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2003-10-18 16:20:14 +0000
commit76e95df05556c9610b564b14cf578c8f9e34c9c1 (patch)
tree54d9c3de3e733b6c331651ac42afa66157297cca /debugXML.c
parent196b38860c1a33e2ee8656a8373e25835f141939 (diff)
downloadandroid_external_libxml2-76e95df05556c9610b564b14cf578c8f9e34c9c1.tar.gz
android_external_libxml2-76e95df05556c9610b564b14cf578c8f9e34c9c1.tar.bz2
android_external_libxml2-76e95df05556c9610b564b14cf578c8f9e34c9c1.zip
Changed all (?) occurences where validation macros (IS_xxx) had
* include/libxml/parserInternals.h HTMLparser.c HTMLtree.c SAX2.c catalog.c debugXML.c entities.c parser.c relaxng.c testSAX.c tree.c valid.c xmlschemas.c xmlschemastypes.c xpath.c: Changed all (?) occurences where validation macros (IS_xxx) had single-byte arguments to use IS_xxx_CH instead (e.g. IS_BLANK changed to IS_BLANK_CH). This gets rid of many warning messages on certain platforms, and also high- lights places in the library which may need to be enhanced for proper UTF8 handling.
Diffstat (limited to 'debugXML.c')
-rw-r--r--debugXML.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debugXML.c b/debugXML.c
index 57a09fe8..f891be0b 100644
--- a/debugXML.c
+++ b/debugXML.c
@@ -52,7 +52,7 @@ xmlDebugDumpString(FILE * output, const xmlChar * str)
for (i = 0; i < 40; i++)
if (str[i] == 0)
return;
- else if (IS_BLANK(str[i]))
+ else if (IS_BLANK_CH(str[i]))
fputc(' ', output);
else if (str[i] >= 0x80)
fprintf(output, "#%X", str[i]);