Skip to content

Commit

Permalink
fix a bug about VTOY_DEFAULT_IMAGE in treeview mode issue #555
Browse files Browse the repository at this point in the history
  • Loading branch information
ventoy committed Oct 31, 2020
1 parent 78ab7a0 commit 062c71b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy.c
Expand Up @@ -1784,8 +1784,6 @@ static int ventoy_set_default_menu(void)
pos = def + 1;
}

pos = def + 1;

while ((end = grub_strchr(pos, '/')) != NULL)
{
*end = 0;
Expand Down

0 comments on commit 062c71b

Please sign in to comment.