Fix bug where config file values with a colon were interpreted as entries

This commit is contained in:
mintsuki 2020-04-24 17:02:53 +02:00
parent ebae7c91b7
commit 7904025c9b
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -63,6 +63,8 @@ int config_set_entry(size_t index) {
p++; p++;
} }
p++; p++;
if (*(p - 2) != '\n')
i--;
} }
config_addr = p; config_addr = p;