]> mj.ucw.cz Git - libucw.git/commitdiff
XML: DEL is not printable
authorMartin Mares <mj@ucw.cz>
Thu, 12 Feb 2015 16:58:06 +0000 (17:58 +0100)
committerMartin Mares <mj@ucw.cz>
Thu, 12 Feb 2015 16:58:06 +0000 (17:58 +0100)
xml/parse.c

index da50ef9dd974b8f13535b542eb82d45850b37bfe..a879effb136d04e4087f5088cf8caeee7b02309b 100644 (file)
@@ -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);