mirror of
https://git.proxmox.com/git/grub2
synced 2025-05-21 12:39:57 +00:00
* util/grub-menulst2cfg.c (main): Trim the line.
This commit is contained in:
parent
db87be2aea
commit
ce6bb3ee31
@ -1,3 +1,7 @@
|
||||
2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub-menulst2cfg.c (main): Trim the line.
|
||||
|
||||
2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/i386/pc/init.c (grub_get_conv_memsize): Removed.
|
||||
|
@ -78,9 +78,12 @@ main (int argc, char **argv)
|
||||
{
|
||||
char *oldname = NULL;
|
||||
char *newsuffix;
|
||||
char *ptr;
|
||||
|
||||
for (ptr = buf; *ptr && grub_isspace (*ptr); ptr++);
|
||||
|
||||
oldname = entryname;
|
||||
parsed = grub_legacy_parse (buf, &entryname, &newsuffix);
|
||||
parsed = grub_legacy_parse (ptr, &entryname, &newsuffix);
|
||||
if (newsuffix)
|
||||
{
|
||||
suffixlen += strlen (newsuffix);
|
||||
|
Loading…
Reference in New Issue
Block a user