Fix junk newline on second console

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-03-16 22:34:13 +01:00
parent bb7f4dbe3b
commit 701f1df961

View file

@ -430,7 +430,8 @@ grub_normal_init_page (struct grub_term_output *term)
grub_term_gotoxy (term, posx, 1); grub_term_gotoxy (term, posx, 1);
grub_print_ucs4 (unicode_msg, last_position, 0, 0, term); grub_print_ucs4 (unicode_msg, last_position, 0, 0, term);
grub_printf("\n\n"); grub_putcode ('\n', term);
grub_putcode ('\n', term);
grub_free (unicode_msg); grub_free (unicode_msg);
} }
@ -552,7 +553,8 @@ grub_normal_reader_init (int nested)
grub_term_setcursor (term, 1); grub_term_setcursor (term, 1);
grub_print_message_indented (msg_formatted, 3, STANDARD_MARGIN, term); grub_print_message_indented (msg_formatted, 3, STANDARD_MARGIN, term);
grub_puts ("\n"); grub_putcode ('\n', term);
grub_putcode ('\n', term);
} }
grub_free (msg_formatted); grub_free (msg_formatted);