]> granicus.if.org Git - libexpat/commitdiff
Use 0xA instead of \n etc
authorJames Clark <jjc@jclark.com>
Sat, 6 Mar 1999 05:42:52 +0000 (05:42 +0000)
committerJames Clark <jjc@jclark.com>
Sat, 6 Mar 1999 05:42:52 +0000 (05:42 +0000)
expat/xmltok/xmltok.c

index b89f1f360160ec4b5c0f97a3f0a15ebae83bb674..cd96f00d9dc4be37678506a249540121f47d0677 100755 (executable)
@@ -900,10 +900,10 @@ static
 int isSpace(int c)
 {
   switch (c) {
-  case ' ':
-  case '\r':
-  case '\n':
-  case '\t':
+  case 0x20:
+  case 0xD:
+  case 0xA:
+  case 0x9:    
     return 1;
   }
   return 0;