aboutsummaryrefslogtreecommitdiffstats
path: root/mktable.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mktable.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mktable.c b/mktable.c
index f18a57e..6e97643 100644
--- a/mktable.c
+++ b/mktable.c
@@ -1,7 +1,7 @@
-/* $Id: mktable.c,v 1.10 2002/11/12 12:41:58 ukai Exp $ */
+/* $Id: mktable.c,v 1.11 2002/12/24 17:20:47 ukai Exp $ */
#include <stdio.h>
#include <stdlib.h>
-#include <ctype.h>
+#include "myctype.h"
#include "config.h"
#include "hash.h"
#include "Str.h"
@@ -74,11 +74,11 @@ main(int argc, char *argv[], char **envp)
Strremovetrailingspaces(s);
name = Strnew();
for (p = s->ptr; *p; p++) {
- if (isspace(*p))
+ if (IS_SPACE(*p))
break;
Strcat_char(name, *p);
}
- while (*p && isspace(*p))
+ while (*p && IS_SPACE(*p))
p++;
putHash_ss(hash, name->ptr, p);
n++;