]> git.proxmox.com Git - grub2.git/commitdiff
* grub-core/lib/arg.c: Ensure at least a single space between commands.
authorVladimir Serbinenko <phcoder@gmail.com>
Tue, 17 Dec 2013 13:42:02 +0000 (14:42 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Tue, 17 Dec 2013 13:42:02 +0000 (14:42 +0100)
ChangeLog
grub-core/lib/arg.c

index d84b0aca399c068719d6006d495d2c49f09213a2..87912d0a751da33334a2f6e522917d675adb42f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-12-17  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/lib/arg.c: Ensure at least a single space between commands.
+
 2013-12-17  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Implement grub_file tool and use it to implement generating of config
index 8684de4007098a140eed7e397a1c85ef3996f9d4..47db949792b7894a995d7f9545b872818442e655 100644 (file)
@@ -138,7 +138,7 @@ showargs (const struct grub_arg_option *opt,
            }
        }
 
-      if (spacing < 0)
+      if (spacing <= 0)
        spacing = 3;
 
       while (spacing--)