mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
bfaf57e1ec
commit
f1b4fb21db
1 changed files with 1 additions and 1 deletions
2
linux.c
2
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue