Revert "enhanced whitespace remover"

This reverts commit abd0afb03a.
This commit is contained in:
Drew DeVault 2015-08-18 08:39:26 -04:00
parent a64b10df83
commit 85a573dab7
4 changed files with 33 additions and 32 deletions

View file

@ -186,9 +186,10 @@ bool read_config(FILE *file, bool is_active) {
int temp_depth = 0; // Temporary: skip all config sections with depth
while (!feof(file)) {
int _;
char *line = read_line(file);
strip_comments(line);
strip_whitespace(line);
line = strip_comments(line);
line = strip_whitespace(line, &_);
if (!line[0]) {
goto _continue;
}