summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-02 01:27:17 +0200
committerwm4 <wm4@nowhere>2014-05-02 01:27:17 +0200
commit585d8c6856e8eaf77c518ad4679e8c66660fc440 (patch)
tree83455e5cfc562e15849ecff58c056c35984c9016
parentbeaa7c71531f978fa0e51283781534f372404496 (diff)
downloadmpv-585d8c6856e8eaf77c518ad4679e8c66660fc440.tar.bz2
mpv-585d8c6856e8eaf77c518ad4679e8c66660fc440.tar.xz
input: increase number of maximum sections
This is because Lua scripts creating key bindings create 2 input sections per script. Probably fixes #759.
-rw-r--r--input/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/input.c b/input/input.c
index e66d7ef34b..fee469b9d4 100644
--- a/input/input.c
+++ b/input/input.c
@@ -105,7 +105,7 @@ struct input_fd {
int pos, size;
};
-#define MAX_ACTIVE_SECTIONS 5
+#define MAX_ACTIVE_SECTIONS 50
struct active_section {
char *name;