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
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;