From: ShatteredMINT <109857525+ShatteredMINT@users.noreply.github.com> Date: Mon, 25 Jul 2022 02:46:07 +0000 (+0200) Subject: remove '=' from reserved space check (#1753) X-Git-Tag: v1.0.79~6 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/b4f1f11742f6f08a520a6a41e7eeb448fcee6244?ds=sidebyside 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 --- diff --git a/LinuxGUI/Ventoy2Disk/GTK/ventoy_gtk.c b/LinuxGUI/Ventoy2Disk/GTK/ventoy_gtk.c index 77096a1..a1e8198 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;