nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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