From b677da6595eb233851829e1d53a2d34aecced792 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Thu, 27 Oct 2022 10:49:58 +0100 Subject: [PATCH] shortcuts: Increase max shortcut name to 64 bytes 32 bytes is a little small, and it's also good to have extra space to accommodate non-English languages. Change-Id: Iced38fd5140e219b16dcfa6d30cc4191266926bd --- apps/shortcuts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/shortcuts.c b/apps/shortcuts.c index 2b032f1fd4..fd9d8d0949 100644 --- a/apps/shortcuts.c +++ b/apps/shortcuts.c @@ -51,7 +51,7 @@ #include "playback.h" #endif -#define MAX_SHORTCUT_NAME 32 +#define MAX_SHORTCUT_NAME 64 #define SHORTCUTS_FILENAME ROCKBOX_DIR "/shortcuts.txt" static const char * const type_strings[SHORTCUT_TYPE_COUNT] = { [SHORTCUT_SETTING] = "setting",