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
This commit is contained in:
Aidan MacDonald 2022-10-27 10:49:58 +01:00
parent f8d1f791be
commit b677da6595

View file

@ -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",