]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Fix glitch with escape message
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 25 Dec 2009 15:53:54 +0000 (16:53 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 25 Dec 2009 15:53:54 +0000 (16:53 +0100)
normal/menu_text.c

index 71bd104aaaba55fdd7a78639faf3f6186c45202c..791f831a0c732826293d490e16dbe5056418bf5a 100644 (file)
@@ -196,15 +196,22 @@ entry is highlighted.\n");
 
       grub_free (msg_translated);
 
-      grub_print_message_indented (_("Press enter to boot the selected OS, \
-\'e\' to edit the commands before booting or \'c\' for a command-line.\n"),
-                                  STANDARD_MARGIN, STANDARD_MARGIN, term);
-
       if (nested)
-        {
-          grub_puts_terminal ("\n        ", term);
-          grub_puts_terminal (_("ESC to return previous menu."), term);
-        }
+       {
+         grub_print_message_indented
+           (_("Press enter to boot the selected OS, "
+              "\'e\' to edit the commands before booting "
+              "or \'c\' for a command-line. ESC to return previous menu.\n"),
+            STANDARD_MARGIN, STANDARD_MARGIN, term);
+       }
+      else
+       {
+         grub_print_message_indented
+           (_("Press enter to boot the selected OS, "
+              "\'e\' to edit the commands before booting "
+              "or \'c\' for a command-line.\n"),
+            STANDARD_MARGIN, STANDARD_MARGIN, term);
+       }       
     }
 }