about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTMLDTD.h
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTMLDTD.h')
-rw-r--r--WWW/Library/Implementation/HTMLDTD.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/WWW/Library/Implementation/HTMLDTD.h b/WWW/Library/Implementation/HTMLDTD.h
index d732e7b4..9c44e2c2 100644
--- a/WWW/Library/Implementation/HTMLDTD.h
+++ b/WWW/Library/Implementation/HTMLDTD.h
@@ -16,10 +16,10 @@
 #include <HTFont.h>
 
 /*
-**  Valid mane chars for tag parsing.
+**  Valid name chars for tag parsing.
 */
-#define IsNmStart(c) (isalpha((unsigned char)c))
-#define IsNmChar(c) (isalnum((unsigned char)c) || \
+#define IsNmStart(c) (isalpha(UCH(c)))
+#define IsNmChar(c) (isalnum(UCH(c)) || \
 		      c == '_' || c=='-' || c == '.' || c==':')