Unverified Commit b4f1f117 authored by ShatteredMINT's avatar ShatteredMINT Committed by GitHub
Browse files

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
parent 20010c5e
...@@ -936,7 +936,7 @@ void on_part_cfg_ok(GtkWidget *widget, gpointer data) ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment