summaryrefslogtreecommitdiffstats
path: root/options/m_config.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-20 12:30:49 +0200
committerwm4 <wm4@nowhere>2018-05-24 19:56:35 +0200
commit3ed173643e9d23c992d9c355e8ba2edb001c19f1 (patch)
tree4e4e1b285baf8e2791f9b0c85ada0519a3038a4f /options/m_config.c
parentb3968ecf05c11cf42c8120be3a1d716c4cc71b5d (diff)
downloadmpv-3ed173643e9d23c992d9c355e8ba2edb001c19f1.tar.bz2
mpv-3ed173643e9d23c992d9c355e8ba2edb001c19f1.tar.xz
m_config: cosmetics: fix 2 typos
Diffstat (limited to 'options/m_config.c')
-rw-r--r--options/m_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options/m_config.c b/options/m_config.c
index 09f14eb2e4..6bbd569fe4 100644
--- a/options/m_config.c
+++ b/options/m_config.c
@@ -609,7 +609,7 @@ struct m_config_option *m_config_get_co(const struct m_config *config,
{
struct m_config_option *co = m_config_get_co_any(config, name);
// CLI aliases should not be real options, and are explicitly handled by
- // m_config_set_option_cli(). So petend it does not exist.
+ // m_config_set_option_cli(). So pretend it does not exist.
if (co && co->opt->type == &m_option_type_cli_alias)
co = NULL;
return co;
@@ -1400,7 +1400,7 @@ void m_config_cache_set_dispatch_change_cb(struct m_config_cache *cache,
struct mp_dispatch_queue *dispatch,
void (*cb)(void *ctx), void *cb_ctx)
{
- // Remove the old one is tricky. Firts make sure no new notifications will
+ // Removing the old one is tricky. First make sure no new notifications will
// come.
m_config_cache_set_wakeup_cb(cache, NULL, NULL);
// Remove any pending notifications (assume we're on the same thread as