From: Vladimir 'phcoder' Serbinenko Date: Sat, 2 Jun 2012 12:28:12 +0000 (+0200) Subject: * grub-core/normal/menu_entry.c (backward_char): Use right line for X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=f95d1f117a422fd698bf2a308d575c04634393c0;p=grub2.git * grub-core/normal/menu_entry.c (backward_char): Use right line for substraction. --- 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++) {