From 6a03357b7123e5b3c59d3038c3dae491384a08ef Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 3 May 2015 14:44:42 +0200 Subject: options: fix typo in variable name --- options/options.c | 2 +- options/options.h | 2 +- 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); -- cgit v1.2.3