[vlc-devel] [PATCH 1/2] actions: Fix MAXACTION value

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Dec 10 17:15:26 CET 2020


The longuest string is 26 characters long, not including terminal null
byte
---
 src/misc/actions.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/misc/actions.c b/src/misc/actions.c
index b10b07936e..ddbf04ad65 100644
--- a/src/misc/actions.c
+++ b/src/misc/actions.c
@@ -255,7 +255,7 @@ found:
 
 /*** VLC key map ***/
 
-#define MAXACTION 26
+#define MAXACTION 27
 static const struct name2action
 {
     char psz[MAXACTION];
-- 
2.29.2



More information about the vlc-devel mailing list