* grub-core/lib/arg.c: Ensure at least a single space between commands.

This commit is contained in:
Vladimir Serbinenko 2013-12-17 14:42:02 +01:00
parent ec824e0f2a
commit e14d409b6f
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -138,7 +138,7 @@ showargs (const struct grub_arg_option *opt,
}
}
if (spacing < 0)
if (spacing <= 0)
spacing = 3;
while (spacing--)