Indented with src/scripts/indent-emp.

This commit is contained in:
Markus Armbruster 2003-09-02 20:48:48 +00:00
parent 5f263a7753
commit 9b7adfbecc
437 changed files with 52211 additions and 51052 deletions

View file

@ -46,12 +46,12 @@
int
sinfra(void)
{
struct sctstr sect;
int nsect;
struct nstr_sect nstr;
double sector_mcost();
double sector_strength(struct sctstr *);
struct sctstr sect;
int nsect;
struct nstr_sect nstr;
double sector_mcost();
double sector_strength(struct sctstr *);
if (!snxtsct(&nstr, player->argp[1]))
return RET_SYN;
prdate();
@ -81,7 +81,7 @@ sinfra(void)
pr("%4d%% ", sect.sct_rail);
pr("%4.3f ", sector_mcost(&sect, MOB_RAIL));
pr("%4d%% ", sect.sct_defense);
pr("%5.2f\n", sector_strength(&sect));
pr("%5.2f\n", sector_strength(&sect));
}
if (nsect == 0) {
if (player->argp[1])
@ -89,9 +89,7 @@ sinfra(void)
else
pr("%s: No sector(s)\n", "");
return RET_FAIL;
}else
} else
pr("%d sector%s\n", nsect, splur(nsect));
return 0;
}