From eef36f03ea76f97c10075ae4b08e1e53e5195479 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 21:49:13 +0100 Subject: msg: rename mp_msg_log -> mp_msg Same for companion functions. --- input/input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'input') diff --git a/input/input.c b/input/input.c index 751651f4bf..b2e5f9a9f8 100644 --- a/input/input.c +++ b/input/input.c @@ -1464,7 +1464,7 @@ static mp_cmd_t *get_cmd_from_keys(struct input_ctx *ictx, char *force_section, mp_cmd_t *ret = mp_input_parse_cmd(ictx, bstr0(cmd->cmd), cmd->location); if (ret) { ret->input_section = cmd->owner->section; - if (mp_msg_test_log(ictx->log, MSGL_DEBUG)) { + if (mp_msg_test(ictx->log, MSGL_DEBUG)) { char *keyname = get_key_combo_name(keys, n); MP_DBG(ictx, "key '%s' -> '%s' in '%s'\n", keyname, cmd->cmd, ret->input_section); @@ -1578,7 +1578,7 @@ static void interpret_key(struct input_ctx *ictx, int code, double scale) if (unmod >= 32 && unmod < MP_KEY_BASE) code &= ~MP_KEY_MODIFIER_SHIFT; - if (mp_msg_test_log(ictx->log, MSGL_DEBUG)) { + if (mp_msg_test(ictx->log, MSGL_DEBUG)) { int noflags = code & ~(MP_KEY_STATE_DOWN | MP_KEY_STATE_UP); char *key = get_key_name(noflags, NULL); MP_DBG(ictx, "key code=%#x '%s'%s%s\n", -- cgit v1.2.3