(army, fleet, wing): Fix printing of new group broken in rev. 1.13.

This commit is contained in:
Markus Armbruster 2007-12-02 18:33:28 +00:00
parent 98dc6dd0ec
commit 3d11b5ecfd
3 changed files with 3 additions and 3 deletions

View file

@ -83,6 +83,6 @@ army(void)
putland(land.lnd_uid, &land);
count++;
}
pr("%d unit%s added to army `%c'\n", count, splur(count), c);
pr("%d unit%s added to army `%1.1s'\n", count, splur(count), &c);
return RET_OK;
}

View file

@ -83,6 +83,6 @@ flee(void)
putship(ship.shp_uid, &ship);
count++;
}
pr("%d ship%s added to fleet `%c'\n", count, splur(count), c);
pr("%d ship%s added to fleet `%1.1s'\n", count, splur(count), &c);
return RET_OK;
}

View file

@ -69,6 +69,6 @@ wing(void)
putplane(plane.pln_uid, &plane);
count++;
}
pr("%d plane%s added to wing `%c'\n", count, splur(count), c);
pr("%d plane%s added to wing `%1.1s'\n", count, splur(count), &c);
return RET_OK;
}