]> mj.ucw.cz Git - libucw.git/blobdiff - xml/parse.c
Remove obsolete references to Sherlock
[libucw.git] / xml / parse.c
index da50ef9dd974b8f13535b542eb82d45850b37bfe..1187d8be231838767de40574109114f259b9a093 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *     Sherlock Library -- A simple XML parser
+ *     UCW Library -- A simple XML parser
  *
  *     (c) 2007--2008 Pavel Charvat <pchar@ucw.cz>
  *
@@ -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);