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

Alexandre Janniaux ajanni at videolabs.io
Thu Dec 10 17:23:52 CET 2020


Hi,

Isn't it because "global-key-" is 11 characters but we add
12 in the next patch?

Regards,
--
Alexandre Janniaux
Videolabs

On Thu, Dec 10, 2020 at 05:15:26PM +0100, Hugo Beauzée-Luyssen wrote:
> 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
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list