nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

5593c8
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
5593c8
From: William Jon McCann <william.jon.mccann@gmail.com>
5593c8
Date: Fri, 7 Jun 2013 14:08:49 -0400
5593c8
Subject: [PATCH] Use the correct indentation for the term help text
5593c8
5593c8
That is consistent with the menu help text
5593c8
---
5593c8
 grub-core/normal/main.c | 4 ++--
5593c8
 1 file changed, 2 insertions(+), 2 deletions(-)
5593c8
5593c8
diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c
1c6ba0
index 5d5f7b539f..ec1cd25739 100644
5593c8
--- a/grub-core/normal/main.c
5593c8
+++ b/grub-core/normal/main.c
5593c8
@@ -440,8 +440,8 @@ grub_normal_reader_init (int nested)
5593c8
     grub_normal_init_page (term, 1);
5593c8
     grub_term_setcursor (term, 1);
5593c8
 
5593c8
-    if (grub_term_width (term) > 3 + STANDARD_MARGIN + 20)
5593c8
-      grub_print_message_indented (msg_formatted, 3, STANDARD_MARGIN, term);
5593c8
+    if (grub_term_width (term) > 2 * STANDARD_MARGIN + 20)
5593c8
+      grub_print_message_indented (msg_formatted, STANDARD_MARGIN, STANDARD_MARGIN, term);
5593c8
     else
5593c8
       grub_print_message_indented (msg_formatted, 0, 0, term);
5593c8
     grub_putcode ('\n', term);