From a5be9924f2066076e8fe14322e473faf461e32bd Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 7 Sep 1996 17:27:25 +0000 Subject: [PATCH] (check_punctuation): Use ISPUNCT instead of ispunct. (get_line): Use ISSPACE instead of isspace. --- src/fmt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fmt.c b/src/fmt.c index e09c9958b2..bc8be68648 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); -- 2.47.2