fix(config): Remove tabs

This commit is contained in:
Michael Carlberg
2016-12-14 20:39:40 +01:00
parent 0fca9a0c6e
commit 78b5f9651f
2 changed files with 3 additions and 1 deletions

View File

@ -86,6 +86,8 @@ void config::parse_file() {
while (std::getline(in, line)) {
lineno++;
line = string_util::replace_all(line, "\t", "");
// Ignore empty lines and comments
if (line.empty() || line[0] == ';' || line[0] == '#') {
continue;