diff options
author | Gaetan Bisson <bisson@archlinux.org> | 2015-10-10 19:24:09 -1000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-11 10:24:03 -0700 |
commit | f1b4fb21db82f99da24738cae8a4acb4b323765c (patch) | |
tree | 19751ffa848d1372c6ec367767bf5ddf8ce9b491 /linux.c | |
parent | bfaf57e1ec2f71ef71ac39c5b700c3cf79b75a5a (diff) | |
download | subsurface-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>
Diffstat (limited to 'linux.c')
-rw-r--r-- | linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |