summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
Diffstat (limited to 'player')
-rw-r--r--player/screenshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/screenshot.c b/player/screenshot.c
index 63db569afb..0449dfb5a1 100644
--- a/player/screenshot.c
+++ b/player/screenshot.c
@@ -280,7 +280,7 @@ static char *gen_fname(screenshot_ctx *ctx, const char *file_ext)
return NULL;
}
- char *dir = ctx->mpctx->opts->screenshot_direcrory;
+ char *dir = ctx->mpctx->opts->screenshot_directory;
if (dir && dir[0]) {
void *t = fname;
dir = mp_get_user_path(t, ctx->mpctx->global, dir);