summaryrefslogtreecommitdiffstats
path: root/input/input.c
diff options
context:
space:
mode:
authorChristoph Heinrich <christoph.heinrich@student.tugraz.at>2023-02-20 06:44:22 +0100
committerDudemanguy <random342@airmail.cc>2023-02-21 17:15:17 +0000
commit4ebfe9851c63c8aa55292c01f23fedd9313ed191 (patch)
tree348c38e97d60914450b3179ea61e39a30b27464e /input/input.c
parent91cc0d8cf6a2cf264c243ca3b3e99b5fd4044c29 (diff)
downloadmpv-4ebfe9851c63c8aa55292c01f23fedd9313ed191.tar.bz2
mpv-4ebfe9851c63c8aa55292c01f23fedd9313ed191.tar.xz
options: transition commands from OPT_FLAG to OPT_BOOL
Diffstat (limited to 'input/input.c')
-rw-r--r--input/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index dec8d0235d..03f75e40b7 100644
--- a/input/input.c
+++ b/input/input.c
@@ -1474,6 +1474,7 @@ void mp_input_bind_key(struct input_ctx *ictx, int key, bstr command)
.cmd = bstrdup0(bs->binds, command),
.location = talloc_strdup(bs->binds, "keybind-command"),
.owner = bs,
+ .is_builtin = false,
.num_keys = 1,
};
memcpy(bind->keys, &key, 1 * sizeof(bind->keys[0]));