diff options
-rw-r--r-- | src/config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c index 19c03e9..e39c19b 100644 --- a/src/config.c +++ b/src/config.c @@ -112,6 +112,10 @@ int load_configuration(const char *configfile) { } OPT("order") { + + for (int c = 0; c < MAX_ORDER; c++) + order[c] = -1; + #define SET_ORDER(opt, idx) { if (strcasecmp(token, opt) == 0) order[idx] = highest_order++; } char *walk, *token; walk = token = dest_value; |