diff options
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c index f1de6080..d4871bab 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -188,8 +188,8 @@ bool read_config(FILE *file, bool is_active) { | |||
188 | while (!feof(file)) { | 188 | while (!feof(file)) { |
189 | int _; | 189 | int _; |
190 | char *line = read_line(file); | 190 | char *line = read_line(file); |
191 | line = strip_comments(line); | ||
192 | line = strip_whitespace(line, &_); | 191 | line = strip_whitespace(line, &_); |
192 | line = strip_comments(line); | ||
193 | if (!line[0]) { | 193 | if (!line[0]) { |
194 | goto _continue; | 194 | goto _continue; |
195 | } | 195 | } |