Commit 82c4d0aa authored by Jody Goldberg's avatar Jody Goldberg

doh!

parent bf61c763
......@@ -152,7 +152,7 @@ autocorrect_tool (char const *command)
skip_first_letter:
/* We need to find the end of a sentence assume ',' is not */
for (p = s; *p != '\0' &&
!(ispunct (*p) || strchr (not_punct, *p)) ; p++)
!(ispunct (*p) && NULL == strchr (not_punct, *p)) ; p++)
;
if (*p == '\0')
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment