Commit d74185a4 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in configuration parser.

This caused empty lines to cause parse failures.
parent dd1ddc26
...@@ -557,7 +557,7 @@ parse_config(gnc_t gnc, void *closure) ...@@ -557,7 +557,7 @@ parse_config(gnc_t gnc, void *closure)
char *token; char *token;
c = gnc(closure); c = gnc(closure);
if(c < 2) if(c < -1)
return -1; return -1;
while(c >= 0) { while(c >= 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment