nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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