diff --git a/ChangeLog b/ChangeLog index 716026e1c..ad6032e86 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-06-02 Vladimir Serbinenko + + * 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 * grub-core/kern/parser.c (grub_parser_state_transitions): Handle \t. diff --git a/grub-core/normal/menu_entry.c b/grub-core/normal/menu_entry.c index ac247d3a2..8e2b4da5d 100644 --- a/grub-core/normal/menu_entry.c +++ b/grub-core/normal/menu_entry.c @@ -208,7 +208,7 @@ print_line (struct line *linep, int offset, int y, else { for (; - x < (int) grub_term_entry_width (term_screen->term); + x <= (int) grub_term_entry_width (term_screen->term); x++) grub_putcode (' ', term_screen->term); }