mirror of
https://github.com/mpv-player/mpv
synced 2025-01-26 01:23:17 +00:00
input: fix inverted condition
I don't know if this broke anything but the the condition was inverted
as a result of the recent commit.
Fixes: 1a27f3caf7
("input: use bstr for section name")
This commit is contained in:
parent
d766fc0914
commit
67bd00f163
@ -316,7 +316,7 @@ static void append_bind_info(struct input_ctx *ictx, char **pmsg,
|
||||
msg = talloc_asprintf_append(msg, " '%s'", stripped);
|
||||
if (!cmd)
|
||||
msg = talloc_asprintf_append(msg, " (invalid)");
|
||||
if (bstr_equals0(bind->owner->section, "default"))
|
||||
if (!bstr_equals0(bind->owner->section, "default"))
|
||||
msg = talloc_asprintf_append(msg, " in section {%.*s}",
|
||||
BSTR_P(bind->owner->section));
|
||||
msg = talloc_asprintf_append(msg, " in %s", bind->location);
|
||||
|
Loading…
Reference in New Issue
Block a user