A bit of refactoring related to spindles as a first step for a coming settings structure revision, "hardened" some code.

This commit is contained in:
Terje Io
2024-11-20 19:03:27 +01:00
parent 0b8bce16c6
commit 7e40bf2402
13 changed files with 125 additions and 54 deletions
+1 -1
View File
@@ -827,7 +827,7 @@ char *ngc_string_param_get (ngc_string_id_t id)
break;
} while((sp = sp->next));
return sp->value;
return sp ? sp->value : NULL;
}
bool ngc_string_param_exists (ngc_string_id_t id)