aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-18 18:03:38 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-18 18:03:38 -0400
commit8e201091a52a74d87db18c18a21fc39aedb95eb2 (patch)
treecbea9dd5cfaca68b2e326aac340e493cb065ba2b
parent443ae9b89e9e1534407c2dd273a4e47ddb3610c7 (diff)
Fix indented comments being weird
-rw-r--r--sway/config.c2
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) {
while (!feof(file)) {
int _;
char *line = read_line(file);
- line = strip_comments(line);
line = strip_whitespace(line, &_);
+ line = strip_comments(line);
if (!line[0]) {
goto _continue;
}