[vlc-commits] actions: Fix MAXACTION value

Hugo Beauzée-Luyssen git at videolan.org
Fri Dec 11 12:15:46 UTC 2020


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Dec 10 16:35:17 2020 +0100| [70945326df84c2d2952e6ab148ff1f162faf7b65] | committer: Hugo Beauzée-Luyssen

actions: Fix MAXACTION value

The longuest string is 26 characters long, not including terminal null
byte

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=70945326df84c2d2952e6ab148ff1f162faf7b65
---

 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];



More information about the vlc-commits mailing list