]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2004-07-04 Vincent Pelletier <subdino2004@yahoo.fr>
authorsubdino <subdino@localhost>
Mon, 4 Jul 2005 13:50:10 +0000 (13:50 +0000)
committersubdino <subdino@localhost>
Mon, 4 Jul 2005 13:50:10 +0000 (13:50 +0000)
        * normal/cmdline.c (grub_cmdline_get): Don't fallback on ctrl-d
        when backspace is pressed at beginning of line.

ChangeLog
normal/cmdline.c

index e45a3c011a3f2b1ea244b5ebe0b495f877df47f5..8549d60569539191d1610923c35be8ec6da7b6b7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-07-04  Vincent Pelletier  <subdino2004@yahoo.fr>
+
+       * normal/cmdline.c (grub_cmdline_get): Don't fallback on ctrl-d
+       when backspace is pressed at beginning of line.
+
 2005-07-03  Yoshinori Okuji  <okuji@enbug.org>
 
        * DISTLIST: Added genfslist.sh.
index e431f2262a0c5f6ac8a480cff5347dbb088d9e87..8b590353c6d7bdd8de3f914c3d392e537ef585d1 100644 (file)
@@ -717,6 +717,8 @@ grub_cmdline_get (const char *prompt, char cmdline[], unsigned max_len,
              lpos--;
              cl_set_pos ();
            }
+          else
+            break;
          /* fall through */
          
        case 4: /* Ctrl-d */