diff options
author | Drew DeVault <[email protected]> | 2015-08-18 08:39:26 -0400 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2015-08-18 08:39:26 -0400 |
commit | 85a573dab73654fb4462dd8fe48ef16400770f04 (patch) | |
tree | 6679fc01b257f177d3693144566cee83b379e9e4 /sway/config.c | |
parent | a64b10df83f84e7ee8933ac139f10c59bfd76466 (diff) |
Revert "enhanced whitespace remover"
This reverts commit abd0afb03a2929931cb684e5aaeac312affe6e5f.
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sway/config.c b/sway/config.c index 6d39839d..f1de6080 100644 --- a/sway/config.c +++ b/sway/config.c @@ -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; } |