summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-24 13:42:02 +0200
committerwm4 <wm4@nowhere>2014-10-24 13:42:02 +0200
commit986d15ea9c61a76ed23bfccda8f3e943b6146115 (patch)
treec8e2a9f3586f8822e449af318551dac60c5c8b7b /input
parent223d9b6bc9483effac1d3b69101dc6004a1e7cc7 (diff)
downloadmpv-986d15ea9c61a76ed23bfccda8f3e943b6146115.tar.bz2
mpv-986d15ea9c61a76ed23bfccda8f3e943b6146115.tar.xz
command: fix debug output
It was a bit ugly/annoying.
Diffstat (limited to 'input')
-rw-r--r--input/cmd_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input/cmd_parse.c b/input/cmd_parse.c
index 90d2650cf9..6f60c0c081 100644
--- a/input/cmd_parse.c
+++ b/input/cmd_parse.c
@@ -428,12 +428,12 @@ void mp_cmd_dump(struct mp_log *log, int msgl, char *header, struct mp_cmd *cmd)
if (!mp_msg_test(log, msgl))
return;
if (header)
- mp_msg(log, msgl, "%s: ", header);
+ mp_msg(log, msgl, "%s ", header);
if (!cmd) {
mp_msg(log, msgl, "(NULL)\n");
return;
}
- mp_msg(log, msgl, "%s, flags=%d args=[", cmd->name, cmd->flags);
+ mp_msg(log, msgl, "%s, flags=%d, args=[", cmd->name, cmd->flags);
for (int n = 0; n < cmd->nargs; n++) {
char *s = m_option_print(cmd->args[n].type, &cmd->args[n].v);
if (n)