aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gaetan Bisson <bisson@archlinux.org>2015-10-10 19:24:09 -1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-11 10:24:03 -0700
commitf1b4fb21db82f99da24738cae8a4acb4b323765c (patch)
tree19751ffa848d1372c6ec367767bf5ddf8ce9b491
parentbfaf57e1ec2f71ef71ac39c5b700c3cf79b75a5a (diff)
downloadsubsurface-f1b4fb21db82f99da24738cae8a4acb4b323765c.tar.gz
Use ~/.subsurface as default directory on Linux
This is more discreet than ~/subsurface (the previous default) and follows a well-established tradition. Signed-off-by: Gaetan Bisson <bisson@archlinux.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux.c b/linux.c
index d23af1aa0..d4131c7ea 100644
--- a/linux.c
+++ b/linux.c
@@ -53,7 +53,7 @@ static const char *system_default_path_append(const char *append)
const char *home = getenv("HOME");
if (!home)
home = "~";
- const char *path = "/subsurface";
+ const char *path = "/.subsurface";
int len = strlen(home) + strlen(path) + 1;
if (append)