src/ formatting
Clean up quite a bit of minor things found with simple grep patterns: operator at end of continued line instead of beginning of continuation (and a few comments which produced false matches, so that they won't do so next time), trailing spaces (only one or two of those), tabs (a dozen or so of those), several casts which didn't have a space between the type and the expression (I wasn't systematic about finding these). I think the only code change was in the function for the help command.
This commit is contained in:
@@ -2484,8 +2484,6 @@ badman(basestr, to_plural)
|
||||
const char *basestr;
|
||||
boolean to_plural; /* true => makeplural, false => makesingular */
|
||||
{
|
||||
int i, al;
|
||||
char *endstr, *spot;
|
||||
/* these are all the prefixes for *man that don't have a *men plural */
|
||||
static const char *no_men[] = {
|
||||
"albu", "antihu", "anti", "ata", "auto", "bildungsro", "cai", "cay",
|
||||
@@ -2501,11 +2499,13 @@ boolean to_plural; /* true => makeplural, false => makesingular */
|
||||
"tegu", "vela", "da", "hy", "lu", "no", "nu", "ra", "ru", "se", "vi",
|
||||
"ya", "o", "a",
|
||||
};
|
||||
int i, al;
|
||||
const char *endstr, *spot;
|
||||
|
||||
if (!basestr || strlen(basestr) < 4)
|
||||
return FALSE;
|
||||
|
||||
endstr = eos((char *)basestr);
|
||||
endstr = eos((char *) basestr);
|
||||
|
||||
if (to_plural) {
|
||||
for (i = 0; i < SIZE(no_men); i++) {
|
||||
|
||||
Reference in New Issue
Block a user