From b4f1f11742f6f08a520a6a41e7eeb448fcee6244 Mon Sep 17 00:00:00 2001 From: ShatteredMINT <109857525+ShatteredMINT@users.noreply.github.com> Date: Mon, 25 Jul 2022 04:46:07 +0200 Subject: [PATCH] remove '=' from reserved space check (#1753) removes the (misplaced) '=' in the check of the configured reserved space in the 'on_part_cfg_ok' function. This caused #1752 --- LinuxGUI/Ventoy2Disk/GTK/ventoy_gtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LinuxGUI/Ventoy2Disk/GTK/ventoy_gtk.c b/LinuxGUI/Ventoy2Disk/GTK/ventoy_gtk.c index 77096a11..a1e81988 100644 --- a/LinuxGUI/Ventoy2Disk/GTK/ventoy_gtk.c +++ b/LinuxGUI/Ventoy2Disk/GTK/ventoy_gtk.c @@ -936,7 +936,7 @@ void on_part_cfg_ok(GtkWidget *widget, gpointer data) for (pos = input; *pos; pos++) { - if (*pos < '0' || *pos >= '9') + if (*pos < '0' || *pos > '9') { msgbox(GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "STR_SPACE_VAL_INVALID"); return;