diff options
| author | Charles.Forsyth <devnull@localhost> | 2007-03-02 17:49:34 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2007-03-02 17:49:34 +0000 |
| commit | 2512e7446f574416256298c05e3a13e5125ce13a (patch) | |
| tree | fe296ca3e4c6abbc6cf161cd8c889b89591f0b86 /libdraw | |
| parent | c6f40450873b090874091810e88690cd3a7f67b6 (diff) | |
20070302d issue 21, part issue 20
Diffstat (limited to 'libdraw')
| -rw-r--r-- | libdraw/chan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdraw/chan.c b/libdraw/chan.c index 96ec3268..b5fe1f35 100644 --- a/libdraw/chan.c +++ b/libdraw/chan.c @@ -30,7 +30,7 @@ chantostr(char *buf, ulong cc) /* avoid pulling in ctype when using with drawterm etc. */ static int -isspace(char c) +iswhitespace(char c) { return c==' ' || c== '\t' || c=='\r' || c=='\n'; } @@ -44,10 +44,10 @@ strtochan(char *s) c = 0; p=s; - while(*p && isspace(*p)) + while(*p && iswhitespace(*p)) p++; - while(*p && !isspace(*p)){ + while(*p && !iswhitespace(*p)){ if((q = strchr(channames, p[0])) == nil) return 0; t = q-channames; |
