summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 21:49:13 +0100
committerwm4 <wm4@nowhere>2013-12-21 22:13:04 +0100
commiteef36f03ea76f97c10075ae4b08e1e53e5195479 (patch)
tree9bafeac9944e717a2defe9e6f8fc753d3cdb9964 /input
parenteba5d025d2ba682de358b792dd15e80529d6a0f1 (diff)
downloadmpv-eef36f03ea76f97c10075ae4b08e1e53e5195479.tar.bz2
mpv-eef36f03ea76f97c10075ae4b08e1e53e5195479.tar.xz
msg: rename mp_msg_log -> mp_msg
Same for companion functions.
Diffstat (limited to 'input')
-rw-r--r--input/input.c4
1 files changed, 2 insertions, 2 deletions
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",