Commit 062c71b9 authored by longpanda's avatar longpanda
Browse files

fix a bug about VTOY_DEFAULT_IMAGE in treeview mode issue #555

parent 78ab7a07
...@@ -1784,8 +1784,6 @@ static int ventoy_set_default_menu(void) ...@@ -1784,8 +1784,6 @@ static int ventoy_set_default_menu(void)
pos = def + 1; pos = def + 1;
} }
pos = def + 1;
while ((end = grub_strchr(pos, '/')) != NULL) while ((end = grub_strchr(pos, '/')) != NULL)
{ {
*end = 0; *end = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment