fix a bug about VTOY_DEFAULT_IMAGE in treeview mode issue #555

This commit is contained in:
longpanda 2020-10-31 13:38:13 +08:00
parent 78ab7a0759
commit 062c71b972

View file

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