aboutsummaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2018-05-20 12:30:49 +0200
committerGravatar Jan Ekström <jeebjp@gmail.com>2018-05-31 01:24:51 +0300
commitb50d54ed409efab00866e099296729628577487d (patch)
tree4deffd11e8838aefd45a50342d62b835c99d4193 /options
parent3ca9598d5c67013465bde13e43d9fbbd43ea9f6c (diff)
m_config: cosmetics: fix 2 typos
Diffstat (limited to 'options')
-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