summaryrefslogtreecommitdiffstats
path: root/osdep/path-win.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/path-win.c')
-rw-r--r--osdep/path-win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/path-win.c b/osdep/path-win.c
index db6698102f..d0c29556d1 100644
--- a/osdep/path-win.c
+++ b/osdep/path-win.c
@@ -61,7 +61,7 @@ static char *mp_get_win_shell_dir(void *talloc_ctx, int folder)
static char *mp_get_win_app_dir(void *talloc_ctx)
{
char *path = mp_get_win_shell_dir(talloc_ctx, CSIDL_APPDATA);
- return path ? mp_path_join(talloc_ctx, bstr0(path), bstr0("mpv")) : NULL;
+ return path ? mp_path_join(talloc_ctx, path, "mpv") : NULL;
}
const char *mp_get_platform_path_win(void *talloc_ctx, const char *type)