From 2512e7446f574416256298c05e3a13e5125ce13a Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 2 Mar 2007 17:49:34 +0000 Subject: 20070302d issue 21, part issue 20 --- libdraw/chan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libdraw/chan.c') 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; -- cgit v1.2.3