From a4d8a65103a17faa5c8cd565f3b589574c817176 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist
Date: Sat, 30 Sep 2023 21:29:21 +0300
Subject: [PATCH 30/30] Manual: Fix settings manual format
See osdn #48762
Signed-off-by: Marko Lindqvist
---
tools/civmanual.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/tools/civmanual.c b/tools/civmanual.c
index eaab2d16f5..05c9d70c15 100644
--- a/tools/civmanual.c
+++ b/tools/civmanual.c
@@ -377,24 +377,26 @@ static bool manual_command(struct tag_types *tag_info)
{
const char *value;
- fprintf(doc, "\n%s
",
+ fprintf(doc, "\n%s
",
_("Possible values:"));
for (i = 0; (value = setting_enum_val(pset, i, FALSE)); i++) {
- fprintf(doc, "\n %s: \"%s\"
",
+ fprintf(doc, "\n %s: \"%s\"
",
value, setting_enum_val(pset, i, TRUE));
}
+ fprintf(doc, "\n");
}
break;
case SST_BITWISE:
{
const char *value;
- fprintf(doc, "\n%s
",
+ fprintf(doc, "\n%s
",
_("Possible values (option can take any number of these):"));
for (i = 0; (value = setting_bitwise_bit(pset, i, FALSE)); i++) {
- fprintf(doc, "\n %s: \"%s\"",
+ fprintf(doc, "\n %s: \"%s\"
",
value, setting_bitwise_bit(pset, i, TRUE));
}
+ fprintf(doc, "
\n");
}
break;
case SST_BOOL:
--
2.40.1