Remove useless width from printf conversion %c.

This commit is contained in:
Markus Armbruster 2006-01-14 20:06:29 +00:00
parent 9eba732cc3
commit 0fe877e1cd
5 changed files with 7 additions and 7 deletions

View file

@ -791,7 +791,7 @@ lnd_list(struct emp_qelem *land_list)
pr("%4d ", lnd->lnd_uid);
pr("%-16.16s ", llp->lcp->l_name);
prxy("%4d,%-4d ", lnd->lnd_x, lnd->lnd_y, llp->land.lnd_own);
pr("%1c", lnd->lnd_army);
pr("%c", lnd->lnd_army);
pr("%4d%%", lnd->lnd_effic);
pr("%4d", lnd->lnd_item[I_SHELL]);
pr("%4d", lnd->lnd_item[I_GUN]);

View file

@ -340,7 +340,7 @@ shp_list(struct emp_qelem *ship_list)
pr("%4d ", shp->shp_uid);
pr("%-16.16s ", mlp->mcp->m_name);
prxy("%4d,%-4d ", shp->shp_x, shp->shp_y, mlp->ship.shp_own);
pr("%1c", shp->shp_fleet);
pr("%c", shp->shp_fleet);
pr("%4d%%", shp->shp_effic);
pr("%4d", shp->shp_item[I_MILIT]);
pr("%4d", shp->shp_item[I_SHELL]);