Blame SOURCES/0036-Use-the-standard-margin-for-the-timeout-string.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 10:52:32 -0400
5593c8
Subject: [PATCH] Use the standard margin for the timeout string
5593c8
5593c8
So that it aligns with the other messages
5593c8
---
5593c8
 grub-core/normal/menu_text.c | 6 +++---
5593c8
 1 file changed, 3 insertions(+), 3 deletions(-)
5593c8
5593c8
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
1c6ba0
index e72ed438ba..ca13562435 100644
5593c8
--- a/grub-core/normal/menu_text.c
5593c8
+++ b/grub-core/normal/menu_text.c
5593c8
@@ -372,7 +372,7 @@ grub_menu_init_page (int nested, int edit,
5593c8
   if (bottom_message)
5593c8
     {
5593c8
       grub_term_gotoxy (term,
5593c8
-			(struct grub_term_coordinate) { GRUB_TERM_MARGIN,
5593c8
+			(struct grub_term_coordinate) { STANDARD_MARGIN,
5593c8
 			    geo->timeout_y });
5593c8
 
5593c8
       print_message (nested, edit, term, 0);
5593c8
@@ -407,14 +407,14 @@ menu_text_print_timeout (int timeout, void *dataptr)
5593c8
   if (data->timeout_msg == TIMEOUT_UNKNOWN)
5593c8
     {
5593c8
       data->timeout_msg = grub_print_message_indented_real (msg_translated,
5593c8
-							    3, 1, data->term, 1)
5593c8
+							    STANDARD_MARGIN, 1, data->term, 1)
5593c8
 	<= data->geo.timeout_lines ? TIMEOUT_NORMAL : TIMEOUT_TERSE;
5593c8
       if (data->timeout_msg == TIMEOUT_TERSE)
5593c8
 	{
5593c8
 	  grub_free (msg_translated);
5593c8
 	  msg_translated = grub_xasprintf (_("%ds"), timeout);
5593c8
 	  if (grub_term_width (data->term) < 10)
5593c8
-	    data->timeout_msg = TIMEOUT_TERSE_NO_MARGIN;
5593c8
+	    data->timeout_msg = STANDARD_MARGIN;
5593c8
 	}
5593c8
     }
5593c8