1
0
Fork 0
mirror of https://github.com/ventoy/Ventoy.git synced 2025-05-28 05:54:31 -04:00

remove '=' from reserved space check ()

removes the (misplaced) '=' in the check of the configured reserved space in the 'on_part_cfg_ok' function.
This caused 
This commit is contained in:
ShatteredMINT 2022-07-25 04:46:07 +02:00 committed by GitHub
parent 20010c5e88
commit b4f1f11742
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -936,7 +936,7 @@ void on_part_cfg_ok(GtkWidget *widget, gpointer data)
for (pos = input; *pos; pos++) 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"); msgbox(GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "STR_SPACE_VAL_INVALID");
return; return;