dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0109-Use-the-correct-indentation-for-the-term-help-text.patch

23d2ea
From ce969717fe4520e71309a87a920d628e571ecd9e Mon Sep 17 00:00:00 2001
606ea6
From: William Jon McCann <william.jon.mccann@gmail.com>
606ea6
Date: Fri, 7 Jun 2013 14:08:49 -0400
27a4da
Subject: [PATCH 109/260] Use the correct indentation for the term help text
606ea6
606ea6
That is consistent with the menu help text
606ea6
---
606ea6
 grub-core/normal/main.c | 4 ++--
606ea6
 1 file changed, 2 insertions(+), 2 deletions(-)
606ea6
606ea6
diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c
27a4da
index 3777cd22c..0da2a520d 100644
606ea6
--- a/grub-core/normal/main.c
606ea6
+++ b/grub-core/normal/main.c
39700a
@@ -426,8 +426,8 @@ grub_normal_reader_init (int nested)
606ea6
     grub_normal_init_page (term, 1);
606ea6
     grub_term_setcursor (term, 1);
606ea6
 
606ea6
-    if (grub_term_width (term) > 3 + STANDARD_MARGIN + 20)
606ea6
-      grub_print_message_indented (msg_formatted, 3, STANDARD_MARGIN, term);
606ea6
+    if (grub_term_width (term) > 2 * STANDARD_MARGIN + 20)
606ea6
+      grub_print_message_indented (msg_formatted, STANDARD_MARGIN, STANDARD_MARGIN, term);
606ea6
     else
606ea6
       grub_print_message_indented (msg_formatted, 0, 0, term);
606ea6
     grub_putcode ('\n', term);
606ea6
-- 
27a4da
2.13.0
606ea6