diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-18 06:53:02 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-18 06:53:13 -0400 |
commit | debb0d6bc198e13ef019b141029cdc62a7087532 (patch) | |
tree | cdd481d3310beb450361f151d26f893943403f37 | |
parent | 39bcad23dd02d7e477bc4bfc1977c1f08108dcad (diff) |
Fix #64
-rw-r--r-- | sway/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/config.c b/sway/config.c index bde65614..e2d10d28 100644 --- a/sway/config.c +++ b/sway/config.c @@ -40,7 +40,7 @@ static char* get_config_path() { } else { name = "/sway/config"; temp = malloc(strlen(xdg_config_home) + strlen(name) + 1); - strcpy(temp, home); + strcpy(xdg_config_home, home); strcat(temp, name); } if (exists(temp)) { @@ -93,7 +93,7 @@ static char* get_config_path() { } else { name = "/i3/config"; temp = malloc(strlen(xdg_config_home) + strlen(name) + 1); - strcpy(temp, home); + strcpy(xdg_config_home, home); strcat(temp, name); } if (exists(temp)) { |