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

@ -63,7 +63,7 @@ carg(void)
pr("%4d ", ni.cur);
pr("%-16.16s ", mchr[(int)ship.shp_type].m_name);
prxy("%4d,%-4d ", ship.shp_x, ship.shp_y, player->cnum);
pr(" %1c", ship.shp_fleet);
pr(" %c", ship.shp_fleet);
pr("%4d%%", ship.shp_effic);
pr("%4d", ship.shp_item[I_SHELL]);
pr("%4d", ship.shp_item[I_GUN]);
@ -109,7 +109,7 @@ lcarg(void)
pr("%4d ", ni.cur);
pr("%-16.16s ", lchr[(int)land.lnd_type].l_name);
prxy("%4d,%-4d ", land.lnd_x, land.lnd_y, player->cnum);
pr(" %1c", land.lnd_army);
pr(" %c", land.lnd_army);
pr("%4d%%", land.lnd_effic);
pr("%4d", land.lnd_item[I_SHELL]);
pr("%4d", land.lnd_item[I_GUN]);

View file

@ -159,7 +159,7 @@ retr(void)
pr("%4d ", ni.cur);
pr("%-16.16s ", mchr[(int)ship.shp_type].m_name);
prxy("%4d,%-4d ", ship.shp_x, ship.shp_y, player->cnum);
pr("%1c", ship.shp_fleet);
pr("%c", ship.shp_fleet);
pr(" %-11s", ship.shp_rpath);
if (ship.shp_rflags & RET_GROUP)
pr("Yes ");
@ -287,7 +287,7 @@ lretr(void)
pr("%4d ", ni.cur);
pr("%-16.16s ", lchr[(int)land.lnd_type].l_name);
prxy("%4d,%-4d ", land.lnd_x, land.lnd_y, player->cnum);
pr("%1c", land.lnd_army);
pr("%c", land.lnd_army);
pr(" %-11s", land.lnd_rpath);
if (land.lnd_rflags & RET_GROUP)
pr("Yes ");

View file

@ -76,7 +76,7 @@ shi(void)
pr("%4d ", ni.cur);
pr("%-16.16s ", mchr[(int)ship.shp_type].m_name);
prxy("%4d,%-4d ", ship.shp_x, ship.shp_y, player->cnum);
pr("%1c", ship.shp_fleet);
pr("%c", ship.shp_fleet);
pr("%4d%%", ship.shp_effic);
pr("%4d", ship.shp_item[I_CIVIL]);