summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-03 14:52:11 +0200
committerwm4 <wm4@nowhere>2015-05-03 14:52:11 +0200
commit2ae96f567cf63dca595a37fd57d63d8d27a7a186 (patch)
tree6895b1fa4423db6d0bd971d663fe77a38fe0fa1c /player/main.c
parent6a03357b7123e5b3c59d3038c3dae491384a08ef (diff)
downloadmpv-2ae96f567cf63dca595a37fd57d63d8d27a7a186.tar.bz2
mpv-2ae96f567cf63dca595a37fd57d63d8d27a7a186.tar.xz
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.
Diffstat (limited to 'player/main.c')
-rw-r--r--player/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/main.c b/player/main.c
index ff7450f164..c227db7b1e 100644
--- a/player/main.c
+++ b/player/main.c
@@ -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;