From ccf4f7234acd1374dbee4cc3507fa40323f058ff Mon Sep 17 00:00:00 2001 From: longpanda Date: Thu, 25 Jun 2026 19:38:47 +0800 Subject: [PATCH] Fix the issue that VTOY_WIN_UEFI_RES_LOCK option reset when enter VentoyPlugson. --- Plugson/src/Web/ventoy_http.h | 2 +- Plugson/www/buildtime | 2 +- Plugson/www/index.html | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Plugson/src/Web/ventoy_http.h b/Plugson/src/Web/ventoy_http.h index 36c83efe..fe300059 100644 --- a/Plugson/src/Web/ventoy_http.h +++ b/Plugson/src/Web/ventoy_http.h @@ -414,7 +414,7 @@ else\ if (node->unData.pcStrVal[0] == '0') val = 0 #define CONTROL_PARSE_INT_DEF_3(node, val) \ - if (node->unData.pcStrVal[0] == '3') val = 3 + if (node->unData.pcStrVal[0] >= '0' && node->unData.pcStrVal[0] < '3') val = node->unData.pcStrVal[0] - '0' #define VTOY_JSON_INT(key, val) vtoy_json_get_int(json, key, &val) #define VTOY_JSON_STR(key, buf) vtoy_json_get_string(json, key, sizeof(buf), buf) diff --git a/Plugson/www/buildtime b/Plugson/www/buildtime index 2bd9ae4e..d1ed6b85 100644 --- a/Plugson/www/buildtime +++ b/Plugson/www/buildtime @@ -1 +1 @@ -20260624 16:39:09 \ No newline at end of file +20260625 19:36:29 \ No newline at end of file diff --git a/Plugson/www/index.html b/Plugson/www/index.html index 71bec73f..5b4cb557 100644 --- a/Plugson/www/index.html +++ b/Plugson/www/index.html @@ -760,7 +760,7 @@ @@ -780,10 +780,10 @@ - + - - + +