about summary refs log tree commit diff
path: root/cli/src/utils.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2011-10-28 23:04:21 +0200
committerMichael Biebl <biebl@debian.org>2011-10-28 23:04:21 +0200
commitbc5840a47a748ffc2b6e7ec24c3dc5ba79664ca8 (patch)
treebace204fa423c7489da190c08c2e86242c6b4588 /cli/src/utils.c
parent0ed641587611afffa0b2cd38d5c70bdb480fa241 (diff)
parent485d149fe80915d94ed49ea6c2c0552cf7a3e79a (diff)
Merge commit 'upstream/0.9.1.95'
Diffstat (limited to 'cli/src/utils.c')
-rw-r--r--cli/src/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/src/utils.c b/cli/src/utils.c
index 3c4e4f36..c5637e4f 100644
--- a/cli/src/utils.c
+++ b/cli/src/utils.c
@@ -194,6 +194,7 @@ print_fields (const NmcPrintFields fields, const NmcOutputField field_values[])
 	if (multiline) {
 	/* --- Multiline mode --- */
 		enum { ML_HEADER_WIDTH = 79 };
+		enum { ML_VALUE_INDENT = 40 };
 		if (main_header && pretty) {
 			/* Print the main header */
 			int header_width = nmc_string_screen_width (fields.header_name, NULL) + 4;
@@ -218,7 +219,7 @@ print_fields (const NmcPrintFields fields, const NmcOutputField field_values[])
 				tmp = g_strdup_printf ("%s%s%s:", section_prefix ? field_values[0].value : "",
 				                                  section_prefix ? "." : "",
 				                                  _(field_values[idx].name_l10n));
-				printf ("%-*s%s\n", terse ? 0 : 32, tmp, field_values[idx].value ? field_values[idx].value : not_set_str);
+				printf ("%-*s%s\n", terse ? 0 : ML_VALUE_INDENT, tmp, field_values[idx].value ? field_values[idx].value : not_set_str);
 				g_free (tmp);
 			}
 			if (pretty) {