diff options
| author | Taiyu <[email protected]> | 2015-08-10 17:32:50 -0700 | 
|---|---|---|
| committer | Taiyu <[email protected]> | 2015-08-10 17:32:50 -0700 | 
| commit | beabb12d63437557da8a2e254a1e0250da448aa6 (patch) | |
| tree | f3a0817c74125550a8442aae6cdf2e81e793d3e9 /sway/config.c | |
| parent | 4aeaaa8abc35ff6ce9746802169918d33e7b8e61 (diff) | |
destroys empty workspace + minor bugfixes
Diffstat (limited to 'sway/config.c')
| -rw-r--r-- | sway/config.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/sway/config.c b/sway/config.c index 3c7badec..a1689f36 100644 --- a/sway/config.c +++ b/sway/config.c @@ -9,6 +9,7 @@  #include "config.h"  bool load_config() { +	sway_log(L_INFO, "Loading config");  	// TODO: Allow use of more config file locations  	const char *name = "/.sway/config";  	const char *home = getenv("HOME"); @@ -65,7 +66,7 @@ struct sway_config *read_config(FILE *file, bool is_active) {  			goto _continue;  		} -		if (!temp_depth && handle_command(config, line) != 0) { +		if (!temp_depth && handle_command(config, line) != true) {  			success = false;  		} @@ -76,7 +77,7 @@ _continue:  		free(line);  	} -	if (!success) { +	if (success == false) {  		exit(1);  	} | 
