nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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