]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2010-01-10 Vladimir Serbinenko <phcoder@gmail.com>
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 10 Jan 2010 21:35:46 +0000 (22:35 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 10 Jan 2010 21:35:46 +0000 (22:35 +0100)
* term/i386/pc/vga_text.c (inc_y): Fix off-by-one error which resulted
in premature implicit newline.

ChangeLog
term/i386/pc/vga_text.c

index 65da2542de73530ad1ff51cd726049cde565846d..321baa439050d7eb60d4a6791104b034d6087010 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-10  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * term/i386/pc/vga_text.c (inc_y): Fix off-by-one error which resulted
+       in premature implicit newline.
+
 2010-01-10  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * normal/cmdline.c (grub_cmdline_get): Fix off-by-one error
index 170f74de8eaf58a56a6beb1e709d66beb8649b4a..f954cab434c9fb15f8c0485ce7a0aeeca9e0f7a3 100644 (file)
@@ -77,7 +77,7 @@ inc_y (void)
 static void
 inc_x (void)
 {
-  if (grub_curr_x >= COLS - 2)
+  if (grub_curr_x >= COLS - 1)
     inc_y ();
   else
     grub_curr_x++;