aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authortaiyu <taiyu.len@gmail.com>2015-09-07 14:40:23 -0700
committertaiyu <taiyu.len@gmail.com>2015-09-07 14:40:23 -0700
commit47ff0006975a2fcab2178b729deec675c2283363 (patch)
treebaca96b7520a4fc309710ace1be4f0301264b152 /sway/config.c
parent71af5b7ddebe6b714f3be65bf8c810c952a7e0af (diff)
put strip_whitespace back
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index 119730ca..95cd8b0d 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -230,6 +230,7 @@ bool read_config(FILE *file, bool is_active) {
char *line;
while (!feof(file)) {
line = read_line(file);
+ line = strip_whitespace(line);
line = strip_comments(line);
if (line[0] == '\0') {
goto _continue;