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_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);
}
@ -550,9 +551,10 @@ grub_normal_reader_init (int nested)
{
grub_normal_init_page (term);
grub_term_setcursor (term, 1);
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);