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>
This commit is contained in:
Gaetan Bisson 2015-10-10 19:24:09 -10:00 committed by Dirk Hohndel
parent bfaf57e1ec
commit f1b4fb21db

View file

@ -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)