From f2e829a75f3204a3b953ef828cd3d27f4a5ce5aa Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 9 Apr 2023 11:51:39 +0300 Subject: [PATCH 40/40] freeciv-manual: Improve terrains page layout See osdn #47819 Signed-off-by: Marko Lindqvist --- tools/civmanual.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/civmanual.c b/tools/civmanual.c index 4bfc1ebc69..c58fa2e489 100644 --- a/tools/civmanual.c +++ b/tools/civmanual.c @@ -462,7 +462,7 @@ static bool manual_command(struct tag_types *tag_info) /* TRANS: markup ... Freeciv version ... ruleset name ... markup */ fprintf(doc, _("%sFreeciv %s terrain help (%s)%s\n\n"), tag_info->title_begin, VERSION_STRING, game.control.name, tag_info->title_end); - fprintf(doc, "", _("Terrain")); + fprintf(doc, "
%s
", _("Terrain")); fprintf(doc, "", _("Resources")); fprintf(doc, "", _("Move cost"), _("Defense bonus")); fprintf(doc, "", @@ -494,8 +494,9 @@ static bool manual_command(struct tag_types *tag_info) continue; } - fprintf(doc, "", - tag_info->image_begin, pterrain->graphic_str, tag_info->image_end, + fprintf(doc, "", + tag_info->image_begin, pterrain->graphic_str, + tag_info->image_end, terrain_name_translation(pterrain)); fprintf(doc, "\n", pterrain->output[O_FOOD], pterrain->output[O_SHIELD], -- 2.39.2
%sF/P/T%s%s
%s
%s
%s
%s
%s
%s
%s
(%s)
%s%s%s%s
%s%s%s%s%d/%d/%d