summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);