summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2019-11-15 11:45:39 -0800
committerVito Caputo <vcaputo@pengaru.com>2019-11-15 11:45:39 -0800
commit2a7a82dceeb103230a3e39bff3cb2e28b25c3c3f (patch)
treea1616c29e7d049517dee473fc0d95564098b9097
parent71162851c7030934fc9c07a2378c1776a9808ea2 (diff)
setup: fix width of index column
-rw-r--r--src/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/setup.c b/src/setup.c
index 6c4a87f..41e9b12 100644
--- a/src/setup.c
+++ b/src/setup.c
@@ -57,7 +57,7 @@ int setup_interactively(settings_t *settings, int (*setup_func)(settings_t *sett
for (i = 0; next->values[i]; i++) {
if (!defaults)
- printf(" %u: %*s%s%s\n", i, width, next->values[i],
+ printf("%2u: %*s%s%s\n", i, width, next->values[i],
next->annotations ? ": " : "",
next->annotations ? next->annotations[i] : "");
© All Rights Reserved