diff options
author | Jim Meyering <jim@meyering.net> | 1996-09-07 17:27:25 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-09-07 17:27:25 +0000 |
commit | a5be9924f2066076e8fe14322e473faf461e32bd (patch) | |
tree | 107655b8c3af876a45d0110174868b59b660defd /src | |
parent | f709048a826d7b28f36868257896b037652278fd (diff) | |
download | coreutils-a5be9924f2066076e8fe14322e473faf461e32bd.tar.xz |
(check_punctuation): Use ISPUNCT instead of ispunct.
(get_line): Use ISSPACE instead of isspace.
Diffstat (limited to 'src')
-rw-r--r-- | src/fmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |