summaryrefslogtreecommitdiffstats
path: root/player/screenshot.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-03 14:44:42 +0200
committerwm4 <wm4@nowhere>2015-05-03 14:44:42 +0200
commit6a03357b7123e5b3c59d3038c3dae491384a08ef (patch)
tree9e0c114651c77e88bd19d7b90e64eb5177184818 /player/screenshot.c
parent1982fedca61b9b7c4bec2e6f2d31ee566fb51923 (diff)
downloadmpv-6a03357b7123e5b3c59d3038c3dae491384a08ef.tar.bz2
mpv-6a03357b7123e5b3c59d3038c3dae491384a08ef.tar.xz
options: fix typo in variable name
Diffstat (limited to 'player/screenshot.c')
-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);