diff --git a/ChangeLog b/ChangeLog index cccffb547..bbd8d4155 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-06-02 Vladimir Serbinenko + + * grub-core/normal/menu_entry.c (backward_char): Use right line for + substraction. + 2012-06-02 Vladimir Serbinenko * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_write) [__linux__]: diff --git a/grub-core/normal/menu_entry.c b/grub-core/normal/menu_entry.c index 7fc890daa..f7cb78375 100644 --- a/grub-core/normal/menu_entry.c +++ b/grub-core/normal/menu_entry.c @@ -668,9 +668,9 @@ backward_char (struct screen *screen, int update) { struct line *linep; - linep = screen->lines + screen->line; screen->column = 0; screen->line--; + linep = screen->lines + screen->line; for (i = 0; i < screen->nterms; i++) {