diff options
author | taiyu <[email protected]> | 2015-08-18 02:48:56 -0700 |
---|---|---|
committer | taiyu <[email protected]> | 2015-08-18 02:48:56 -0700 |
commit | e9c3a9016f1df5877404721043967431afb2f5c7 (patch) | |
tree | 80fc0c129a98dbd955bb968c63d4d816d91fe6dd /sway/config.c | |
parent | 2f8a23924893663473e24c4ca3407e8e1005f37e (diff) |
config handles comments better
Diffstat (limited to 'sway/config.c')
-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 f06d55f8..44943769 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_whitespace(line, &_); line = strip_comments(line); + line = strip_whitespace(line, &_); if (!line[0]) { goto _continue; } |