Commit 0714971f authored by longpanda's avatar longpanda
Browse files

Fix VTOY_WIN11_BYPASS_CHECK/VTOY_WIN11_BYPASS_NRO option web page display issue.

parent 3c03df31
...@@ -4134,11 +4134,11 @@ static int ventoy_parse_control(VTOY_JSON *json, void *p) ...@@ -4134,11 +4134,11 @@ static int ventoy_parse_control(VTOY_JSON *json, void *p)
} }
else if (strcmp(child->pcName, "VTOY_WIN11_BYPASS_CHECK") == 0) else if (strcmp(child->pcName, "VTOY_WIN11_BYPASS_CHECK") == 0)
{ {
CONTROL_PARSE_INT_DEF_0(child, data->win11_bypass_check); CONTROL_PARSE_INT_DEF_1(child, data->win11_bypass_check);
} }
else if (strcmp(child->pcName, "VTOY_WIN11_BYPASS_NRO") == 0) else if (strcmp(child->pcName, "VTOY_WIN11_BYPASS_NRO") == 0)
{ {
CONTROL_PARSE_INT_DEF_0(child, data->win11_bypass_nro); CONTROL_PARSE_INT_DEF_1(child, data->win11_bypass_nro);
} }
else if (strcmp(child->pcName, "VTOY_LINUX_REMOUNT") == 0) else if (strcmp(child->pcName, "VTOY_LINUX_REMOUNT") == 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