commands: Trim obvious silly trailing space from output
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
df614a9bdc
commit
02e00ed53b
6 changed files with 230 additions and 230 deletions
|
@ -65,10 +65,10 @@ dist(void)
|
||||||
pr("distributes to %s, not owned by you.\n",
|
pr("distributes to %s, not owned by you.\n",
|
||||||
xyas(tsect.sct_x, tsect.sct_y, player->cnum));
|
xyas(tsect.sct_x, tsect.sct_y, player->cnum));
|
||||||
else
|
else
|
||||||
pr("distributes to %s. \n",
|
pr("distributes to %s.\n",
|
||||||
xyas(tsect.sct_x, tsect.sct_y, player->cnum));
|
xyas(tsect.sct_x, tsect.sct_y, player->cnum));
|
||||||
} else
|
} else
|
||||||
pr("has no dist sector. \n");
|
pr("has no dist sector.\n");
|
||||||
p = getstarg(player->argp[2], "Distribution sector? ", buf);
|
p = getstarg(player->argp[2], "Distribution sector? ", buf);
|
||||||
if (!p)
|
if (!p)
|
||||||
return RET_SYN;
|
return RET_SYN;
|
||||||
|
|
|
@ -186,7 +186,7 @@ apro(void)
|
||||||
|
|
||||||
info_dp = opendir(infodir);
|
info_dp = opendir(infodir);
|
||||||
if (info_dp == NULL) {
|
if (info_dp == NULL) {
|
||||||
pr("Can't open info dir \n");
|
pr("Can't open info dir\n");
|
||||||
logerror("Can't open info dir \"%s\"", infodir);
|
logerror("Can't open info dir \"%s\"", infodir);
|
||||||
return RET_FAIL;
|
return RET_FAIL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -130,7 +130,7 @@ load(void)
|
||||||
continue;
|
continue;
|
||||||
if (load_unload == LOAD) {
|
if (load_unload == LOAD) {
|
||||||
if (noisy)
|
if (noisy)
|
||||||
pr("You don't own %s \n",
|
pr("You don't own %s\n",
|
||||||
xyas(sect.sct_x, sect.sct_y, player->cnum));
|
xyas(sect.sct_x, sect.sct_y, player->cnum));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
@ -224,7 +224,7 @@ orde(void)
|
||||||
}
|
}
|
||||||
ship.shp_tend[sub] = i1->i_uid;
|
ship.shp_tend[sub] = i1->i_uid;
|
||||||
ship.shp_lend[sub] = level;
|
ship.shp_lend[sub] = level;
|
||||||
pr("Order Set \n");
|
pr("Order Set\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
|
@ -337,7 +337,7 @@ qorde(void)
|
||||||
if (player->god)
|
if (player->god)
|
||||||
pr("own ");
|
pr("own ");
|
||||||
pr("shp# ship type ");
|
pr("shp# ship type ");
|
||||||
pr("[Starting] (Ending) \n");
|
pr("[Starting] (Ending)\n");
|
||||||
}
|
}
|
||||||
nships++;
|
nships++;
|
||||||
if (player->god)
|
if (player->god)
|
||||||
|
|
|
@ -153,7 +153,7 @@ sect_hdr(void)
|
||||||
{
|
{
|
||||||
if (player->god)
|
if (player->god)
|
||||||
pr(" ");
|
pr(" ");
|
||||||
pr("Starvation \n");
|
pr("Starvation\n");
|
||||||
if (player->god)
|
if (player->god)
|
||||||
pr("own ");
|
pr("own ");
|
||||||
pr(" sect eff ");
|
pr(" sect eff ");
|
||||||
|
@ -202,10 +202,10 @@ ship_hdr(void)
|
||||||
{
|
{
|
||||||
if (player->god)
|
if (player->god)
|
||||||
pr(" ");
|
pr(" ");
|
||||||
pr("Starvation \n");
|
pr("Starvation\n");
|
||||||
if (player->god)
|
if (player->god)
|
||||||
pr("own ");
|
pr("own ");
|
||||||
pr(" shp# ship type \n");
|
pr(" shp# ship type\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -250,8 +250,8 @@ unit_hdr(void)
|
||||||
{
|
{
|
||||||
if (player->god)
|
if (player->god)
|
||||||
pr(" ");
|
pr(" ");
|
||||||
pr("Starvation \n");
|
pr("Starvation\n");
|
||||||
if (player->god)
|
if (player->god)
|
||||||
pr("own ");
|
pr("own ");
|
||||||
pr(" lnd# unit type \n");
|
pr(" lnd# unit type\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue