Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
5d6d6df3
Commit
5d6d6df3
authored
Jul 13, 2022
by
longpanda
Browse files
autosel doesn't work since 1.0.77 (#1716)
parent
096cc99c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy_cmd.c
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy_cmd.c
+2
-1
No files found.
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy_cmd.c
View file @
5d6d6df3
...
@@ -3642,7 +3642,7 @@ static grub_err_t ventoy_cmd_sel_auto_install(grub_extcmd_context_t ctxt, int ar
...
@@ -3642,7 +3642,7 @@ static grub_err_t ventoy_cmd_sel_auto_install(grub_extcmd_context_t ctxt, int ar
{
{
node
->
cursel
=
node
->
autosel
-
1
;
node
->
cursel
=
node
->
autosel
-
1
;
debug
(
"Auto install template auto select %d
\n
"
,
node
->
autosel
);
debug
(
"Auto install template auto select %d
\n
"
,
node
->
autosel
);
return
0
;
goto
load
;
}
}
}
}
...
@@ -3682,6 +3682,7 @@ static grub_err_t ventoy_cmd_sel_auto_install(grub_extcmd_context_t ctxt, int ar
...
@@ -3682,6 +3682,7 @@ static grub_err_t ventoy_cmd_sel_auto_install(grub_extcmd_context_t ctxt, int ar
node
->
cursel
=
g_ventoy_last_entry
-
1
;
node
->
cursel
=
g_ventoy_last_entry
-
1
;
load:
grub_check_free
(
node
->
filebuf
);
grub_check_free
(
node
->
filebuf
);
node
->
filelen
=
0
;
node
->
filelen
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment