bad grammar
fix many new cases of bad grammar due to several misuses of the return values of strncmp or is_plural
This commit is contained in:
@@ -1030,10 +1030,10 @@ register const char *verb;
|
||||
* Guess at a few other special cases that makeplural creates.
|
||||
*/
|
||||
if ((*spot == 's' && spot != subj && *(spot-1) != 'u') ||
|
||||
((spot - subj) >= 4 && strncmp(spot-3, "eeth", 4)) ||
|
||||
((spot - subj) >= 3 && strncmp(spot-3, "feet", 4)) ||
|
||||
((spot - subj) >= 2 && strncmp(spot-1, "ia", 2)) ||
|
||||
((spot - subj) >= 2 && strncmp(spot-1, "ae", 2))) {
|
||||
((spot - subj) >= 4 && !strncmp(spot-3, "eeth", 4)) ||
|
||||
((spot - subj) >= 3 && !strncmp(spot-3, "feet", 4)) ||
|
||||
((spot - subj) >= 2 && !strncmp(spot-1, "ia", 2)) ||
|
||||
((spot - subj) >= 2 && !strncmp(spot-1, "ae", 2))) {
|
||||
Strcpy(buf, verb);
|
||||
return buf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user