path: start special espansion with ~~name instead of ~name

Since commit 7381db60, strings like "~desktop/" were expanded as
platform-specific paths by mpv. Apparently this similarity to standard
Unix shell expansion caused confusion, so change it to "~~desktop/". The
shell doesn't expand this, so it should be better.
This commit is contained in:
wm4
2015-05-03 14:52:11 +02:00
parent 6a03357b71
commit 2ae96f567c
3 changed files with 11 additions and 11 deletions

View File

@@ -100,7 +100,7 @@ static const char def_config[] =
"terminal=no\n"
"force-window=yes\n"
"idle=once\n"
"screenshot-directory=~desktop/\n";
"screenshot-directory=~~desktop/\n";
static pthread_mutex_t terminal_owner_lock = PTHREAD_MUTEX_INITIALIZER;
static struct MPContext *terminal_owner;