* grub-core/normal/menu_entry.c (backward_char): Use right line for

substraction.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-02 14:28:12 +02:00
parent 6297e19736
commit f95d1f117a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-06-02 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/menu_entry.c (backward_char): Use right line for
substraction.
2012-06-02 Vladimir Serbinenko <phcoder@gmail.com> 2012-06-02 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_write) [__linux__]: * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_write) [__linux__]:

View file

@ -668,9 +668,9 @@ backward_char (struct screen *screen, int update)
{ {
struct line *linep; struct line *linep;
linep = screen->lines + screen->line;
screen->column = 0; screen->column = 0;
screen->line--; screen->line--;
linep = screen->lines + screen->line;
for (i = 0; i < screen->nterms; i++) for (i = 0; i < screen->nterms; i++)
{ {