diff options
author | Harri Nieminen <moiman@posteo.net> | 2023-03-27 23:42:17 +0300 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-03-28 19:29:44 +0000 |
commit | 292a5868cb60c481ae9eaed7d21e67dcff41938f (patch) | |
tree | c5a87dee26e517c485bec6a8f4cad9271d25adf4 /options/m_option.c | |
parent | 24bed9b94991d060024dedeb05718d15d95fa77d (diff) | |
download | mpv-292a5868cb60c481ae9eaed7d21e67dcff41938f.tar.bz2 mpv-292a5868cb60c481ae9eaed7d21e67dcff41938f.tar.xz |
various: fix typos
Found by codespell
Diffstat (limited to 'options/m_option.c')
-rw-r--r-- | options/m_option.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/options/m_option.c b/options/m_option.c index 8d926e6254..a796707219 100644 --- a/options/m_option.c +++ b/options/m_option.c @@ -1756,7 +1756,7 @@ static int parse_keyvalue_list(struct mp_log *log, const m_option_t *opt, } if (param.len) { - mp_err(log, "Unparseable garbage at end of option value: '%.*s'\n", + mp_err(log, "Unparsable garbage at end of option value: '%.*s'\n", BSTR_P(param)); r = M_OPT_INVALID; } @@ -1948,7 +1948,7 @@ const m_option_type_t m_option_type_dummy_flag = { // Read s sub-option name, or a positional sub-opt value. // termset is a string containing the set of chars that terminate an option. -// Return 0 on succes, M_OPT_ error code otherwise. +// Return 0 on success, M_OPT_ error code otherwise. // optname is for error reporting. static int read_subparam(struct mp_log *log, bstr optname, char *termset, bstr *str, bstr *out_subparam) @@ -2274,7 +2274,7 @@ void m_geometry_apply(int *xpos, int *ypos, int *widw, int *widh, *widw = *widh * asp; } // Center window after resize. If valid x:y values are passed to - // geometry, then those values will be overriden. + // geometry, then those values will be overridden. *xpos += prew / 2 - *widw / 2; *ypos += preh / 2 - *widh / 2; } |