cutoff level: Add FIXME comments to narrow coordinate columns
When formatting coordinates for fixed-width output, the width should be at least four characters. cutoff was fine until 4.0.2 reduced coordinate width to three to make space for civilian and military delivery thresholds. level has always used width three. Can't fix either without making lines too long or dropping information, so just document the problem for now. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
3abfde408d
commit
1b07fd62c2
2 changed files with 3 additions and 3 deletions
|
@ -56,9 +56,9 @@ leve(void)
|
|||
}
|
||||
if (player->god)
|
||||
pr("%2d ", sect.sct_own);
|
||||
prxy("%3d,%-3d", nstr.x, nstr.y);
|
||||
prxy("%3d,%-3d", nstr.x, nstr.y); /* FIXME too narrow */
|
||||
pr(" %c ", dchr[sect.sct_type].d_mnem);
|
||||
prxy("%3d,%-3d", sect.sct_dist_x, sect.sct_dist_y);
|
||||
prxy("%3d,%-3d", sect.sct_dist_x, sect.sct_dist_y); /* FIXME too */
|
||||
pr(" %4d", sect.sct_dist[I_CIVIL]);
|
||||
pr("%4d", sect.sct_dist[I_MILIT]);
|
||||
pr("%4d", sect.sct_dist[I_UW]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue