Blame SOURCES/0120-Use-the-standard-margin-for-the-timeout-string.patch

a85e8e
From 946f5809983d520768e2d769873e5b2437a9d7e7 Mon Sep 17 00:00:00 2001
a85e8e
From: William Jon McCann <william.jon.mccann@gmail.com>
a85e8e
Date: Fri, 7 Jun 2013 10:52:32 -0400
a85e8e
Subject: [PATCH 120/260] Use the standard margin for the timeout string
a85e8e
a85e8e
So that it aligns with the other messages
a85e8e
---
a85e8e
 grub-core/normal/menu_text.c | 6 +++---
a85e8e
 1 file changed, 3 insertions(+), 3 deletions(-)
a85e8e
a85e8e
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
a85e8e
index beddd7f81..33b208bcf 100644
a85e8e
--- a/grub-core/normal/menu_text.c
a85e8e
+++ b/grub-core/normal/menu_text.c
a85e8e
@@ -369,7 +369,7 @@ grub_menu_init_page (int nested, int edit,
a85e8e
   if (bottom_message)
a85e8e
     {
a85e8e
       grub_term_gotoxy (term,
a85e8e
-			(struct grub_term_coordinate) { GRUB_TERM_MARGIN,
a85e8e
+			(struct grub_term_coordinate) { STANDARD_MARGIN,
a85e8e
 			    geo->timeout_y });
a85e8e
 
a85e8e
       print_message (nested, edit, term, 0);
a85e8e
@@ -404,14 +404,14 @@ menu_text_print_timeout (int timeout, void *dataptr)
a85e8e
   if (data->timeout_msg == TIMEOUT_UNKNOWN)
a85e8e
     {
a85e8e
       data->timeout_msg = grub_print_message_indented_real (msg_translated,
a85e8e
-							    3, 1, data->term, 1)
a85e8e
+							    STANDARD_MARGIN, 1, data->term, 1)
a85e8e
 	<= data->geo.timeout_lines ? TIMEOUT_NORMAL : TIMEOUT_TERSE;
a85e8e
       if (data->timeout_msg == TIMEOUT_TERSE)
a85e8e
 	{
a85e8e
 	  grub_free (msg_translated);
a85e8e
 	  msg_translated = grub_xasprintf (_("%ds"), timeout);
a85e8e
 	  if (grub_term_width (data->term) < 10)
a85e8e
-	    data->timeout_msg = TIMEOUT_TERSE_NO_MARGIN;
a85e8e
+	    data->timeout_msg = STANDARD_MARGIN;
a85e8e
 	}
a85e8e
     }
a85e8e
 
a85e8e
-- 
a85e8e
2.13.0
a85e8e