]> git.pond.sub.org Git - empserver/commit
edit: Print ship and land unit items with field width 5
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 27 Aug 2017 10:37:53 +0000 (12:37 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 5 Jan 2021 06:23:45 +0000 (07:23 +0100)
commit2902cc22c42d36f578c3823a3a8bb9582cd6f00f
treee20aecd82fe60bcc2e5a78305986e29374efb23d
parent6e320cc625838b353ce87374f35c4b08bbf3ca21
edit: Print ship and land unit items with field width 5

print_items() uses field widths between 3 and 5.  They go back all the
way to Empire 1, and are fine for the stock game.  Widen the narrower
ones to 5, because a consistent field width looks tidier, and can
avoid misaligned columns with customized ships and land units.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/commands/edit.c
tests/actofgod/journal.log