diff options
author | wm4 <wm4@nowhere> | 2015-05-03 14:44:42 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-03 14:44:42 +0200 |
commit | 6a03357b7123e5b3c59d3038c3dae491384a08ef (patch) | |
tree | 9e0c114651c77e88bd19d7b90e64eb5177184818 | |
parent | 1982fedca61b9b7c4bec2e6f2d31ee566fb51923 (diff) | |
download | mpv-6a03357b7123e5b3c59d3038c3dae491384a08ef.tar.bz2 mpv-6a03357b7123e5b3c59d3038c3dae491384a08ef.tar.xz |
options: fix typo in variable name
-rw-r--r-- | options/options.c | 2 | ||||
-rw-r--r-- | options/options.h | 2 | ||||
-rw-r--r-- | player/screenshot.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/options/options.c b/options/options.c index c5fa2b427b..a902360e56 100644 --- a/options/options.c +++ b/options/options.c @@ -539,7 +539,7 @@ const m_option_t mp_opts[] = { OPT_SUBSTRUCT("screenshot", screenshot_image_opts, image_writer_conf, 0), OPT_STRING("screenshot-template", screenshot_template, 0), - OPT_STRING("screenshot-directory", screenshot_direcrory, 0), + OPT_STRING("screenshot-directory", screenshot_directory, 0), OPT_SUBSTRUCT("input", input_opts, input_config, 0), diff --git a/options/options.h b/options/options.h index c3b4831fa6..374649888e 100644 --- a/options/options.h +++ b/options/options.h @@ -206,7 +206,7 @@ typedef struct MPOpts { struct image_writer_opts *screenshot_image_opts; char *screenshot_template; - char *screenshot_direcrory; + char *screenshot_directory; double force_fps; int index_mode; 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); |