From e14d409b6f7ca87baf1944b1c0487267a9114c5f Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Tue, 17 Dec 2013 14:42:02 +0100 Subject: [PATCH] * grub-core/lib/arg.c: Ensure at least a single space between commands. --- ChangeLog | 4 ++++ grub-core/lib/arg.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d84b0aca3..87912d0a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-12-17 Vladimir Serbinenko + + * grub-core/lib/arg.c: Ensure at least a single space between commands. + 2013-12-17 Vladimir Serbinenko Implement grub_file tool and use it to implement generating of config diff --git a/grub-core/lib/arg.c b/grub-core/lib/arg.c index 8684de400..47db94979 100644 --- a/grub-core/lib/arg.c +++ b/grub-core/lib/arg.c @@ -138,7 +138,7 @@ showargs (const struct grub_arg_option *opt, } } - if (spacing < 0) + if (spacing <= 0) spacing = 3; while (spacing--)