X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=xml%2Fparse.c;h=1187d8be231838767de40574109114f259b9a093;hb=852fa2b91ae6262c164913af849fe20b55a055e8;hp=da50ef9dd974b8f13535b542eb82d45850b37bfe;hpb=c8ffd6e3b4fc8fd6437c04282c357b2dc290bbbd;p=libucw.git diff --git a/xml/parse.c b/xml/parse.c index da50ef9d..1187d8be 100644 --- a/xml/parse.c +++ b/xml/parse.c @@ -1,5 +1,5 @@ /* - * Sherlock Library -- A simple XML parser + * UCW Library -- A simple XML parser * * (c) 2007--2008 Pavel Charvat * @@ -26,7 +26,7 @@ void NONRET xml_fatal_expected(struct xml_context *ctx, uint c) { - if (c >= 32 && c < 128) + if (c >= 32 && c < 127) xml_fatal(ctx, "Expected '%c'", c); else xml_fatal(ctx, "Expected U+%04x", c);