diff --git a/qloader2.bin b/qloader2.bin index 538a9f37..6baa26fa 100644 Binary files a/qloader2.bin and b/qloader2.bin differ diff --git a/src/lib/config.c b/src/lib/config.c index df5fe2c4..058e909c 100644 --- a/src/lib/config.c +++ b/src/lib/config.c @@ -35,7 +35,7 @@ int config_get_entry_name(char *ret, size_t index, size_t limit) { p++; } p++; - if (*(p - 2) != '\n') + if ((p - 1) != config_addr && *(p - 2) != '\n') i--; } @@ -60,7 +60,7 @@ int config_set_entry(size_t index) { p++; } p++; - if (*(p - 2) != '\n') + if ((p - 1) != config_addr && *(p - 2) != '\n') i--; }