* grub-core/normal/menu_entry.c (print_line): Fix off-by-one error which
resulted in \\ at the end of the line.
This commit is contained in:
parent
6d8db94786
commit
45dbe3000b
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2012-06-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/normal/menu_entry.c (print_line): Fix off-by-one error which
|
||||||
|
resulted in \\ at the end of the line.
|
||||||
|
|
||||||
2012-06-02 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-06-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/kern/parser.c (grub_parser_state_transitions): Handle \t.
|
* grub-core/kern/parser.c (grub_parser_state_transitions): Handle \t.
|
||||||
|
|
|
@ -208,7 +208,7 @@ print_line (struct line *linep, int offset, int y,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
for (;
|
for (;
|
||||||
x < (int) grub_term_entry_width (term_screen->term);
|
x <= (int) grub_term_entry_width (term_screen->term);
|
||||||
x++)
|
x++)
|
||||||
grub_putcode (' ', term_screen->term);
|
grub_putcode (' ', term_screen->term);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue