From 85a573dab73654fb4462dd8fe48ef16400770f04 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 18 Aug 2015 08:39:26 -0400 Subject: Revert "enhanced whitespace remover" This reverts commit abd0afb03a2929931cb684e5aaeac312affe6e5f. --- sway/config.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sway/config.c') 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; } -- cgit v1.2.3