]> git.proxmox.com Git - grub2.git/commitdiff
* grub-core/normal/menu_entry.c (backward_char): Use right line for
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 2 Jun 2012 12:28:12 +0000 (14:28 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 2 Jun 2012 12:28:12 +0000 (14:28 +0200)
substraction.

ChangeLog
grub-core/normal/menu_entry.c

index cccffb5478c971c14c4fb082528c1ce426c47e8f..bbd8d4155ebf8ab4aebb7e949a3406703e9a9aba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_write) [__linux__]:
index 7fc890daad427a0244714222a704ac5726dab5ab..f7cb78375e42a4cb1aea681a939eacc78c62e4b0 100644 (file)
@@ -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++)
        {