summaryrefslogtreecommitdiff
path: root/src/fmt.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-09-07 17:27:25 +0000
committerJim Meyering <jim@meyering.net>1996-09-07 17:27:25 +0000
commita5be9924f2066076e8fe14322e473faf461e32bd (patch)
tree107655b8c3af876a45d0110174868b59b660defd /src/fmt.c
parentf709048a826d7b28f36868257896b037652278fd (diff)
downloadcoreutils-a5be9924f2066076e8fe14322e473faf461e32bd.tar.xz
(check_punctuation): Use ISPUNCT instead of ispunct.
(get_line): Use ISSPACE instead of isspace.
Diffstat (limited to 'src/fmt.c')
-rw-r--r--src/fmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fmt.c b/src/fmt.c
index e09c9958b..bc8be6864 100644
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -631,7 +631,7 @@ get_line (FILE *f, register int c)
*wptr++ = c;
c = getc (f);
}
- while (c != EOF && !isspace (c));
+ while (c != EOF && !ISSPACE (c));
in_column += word_limit->length = wptr - word_limit->text;
check_punctuation (word_limit);
@@ -715,7 +715,7 @@ check_punctuation (register WORD *w)
start = w->text;
finish = start + (w->length - 1);
w->paren = isopen (*start);
- w->punct = ispunct (*finish);
+ w->punct = ISPUNCT (*finish);
while (isclose (*finish) && finish > start)
finish--;
w->period = isperiod (*finish);