plural of lotus is lotuses
another makeplural special case
This commit is contained in:
+4
-2
@@ -1256,8 +1256,10 @@ const char *oldstr;
|
|||||||
goto bottom;
|
goto bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* fungus/fungi, homunculus/homunculi, but wumpuses */
|
/* fungus/fungi, homunculus/homunculi, but lotuses, wumpuses */
|
||||||
if (!strcmp(spot-1, "us") && (len < 6 || strcmp(spot-5, "wumpus"))) {
|
if (!strcmp(spot-1, "us") &&
|
||||||
|
(len < 5 || (strcmp(spot-4, "lotus") &&
|
||||||
|
(len < 6 || strcmp(spot-5, "wumpus"))))) {
|
||||||
*(spot--) = (char)0;
|
*(spot--) = (char)0;
|
||||||
*spot = 'i';
|
*spot = 'i';
|
||||||
goto bottom;
|
goto bottom;
|
||||||
|
|||||||
Reference in New Issue
Block a user