Removed grub_putchar
This commit is contained in:
parent
53f312c1cf
commit
dfed5c6bb4
31 changed files with 241 additions and 219 deletions
|
@ -840,7 +840,7 @@ grub_gfxterm_putchar (grub_uint32_t c)
|
|||
|
||||
/* If we are about to exceed line length, wrap to next line. */
|
||||
if (virtual_screen.cursor_x + char_width > virtual_screen.columns)
|
||||
grub_putchar ('\n');
|
||||
grub_gfxterm_putchar ('\n');
|
||||
|
||||
/* Find position on virtual screen, and fill information. */
|
||||
p = (virtual_screen.text_buffer +
|
||||
|
|
|
@ -334,7 +334,7 @@ grub_vga_putchar (grub_uint32_t c)
|
|||
glyph = grub_font_get_glyph(font, c);
|
||||
|
||||
if (xpos + char_width > TEXT_WIDTH)
|
||||
grub_putchar ('\n');
|
||||
grub_vga_putchar ('\n');
|
||||
|
||||
p = text_buf + xpos + ypos * TEXT_WIDTH;
|
||||
p->code = c;
|
||||
|
|
|
@ -388,8 +388,8 @@ grub_serial_putchar (grub_uint32_t c)
|
|||
default:
|
||||
if (xpos >= TEXT_WIDTH)
|
||||
{
|
||||
grub_putchar ('\r');
|
||||
grub_putchar ('\n');
|
||||
grub_serial_putchar ('\r');
|
||||
grub_serial_putchar ('\n');
|
||||
}
|
||||
xpos++;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue