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