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

This commit is contained in:
mintsuki 2020-04-24 17:36:37 +02:00
parent 2b6cf6296c
commit 2c3bd46854
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@ -75,8 +75,10 @@ cont:
while (*p != ':' && *p)
p++;
if (*p && *(p - 1) != '\n')
if (*p && *(p - 1) != '\n') {
p++;
goto cont;
}
*p = 0;