summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-10-27 10:49:58 +0100
committerAidan MacDonald <amachronic@protonmail.com>2022-10-27 10:49:58 +0100
commitb677da6595eb233851829e1d53a2d34aecced792 (patch)
tree1a489bb60f18eda3203fe729e16ad4a9273b70bf
parentf8d1f791be573eb557a015bcf3163a4ecee775a2 (diff)
downloadrockbox-b677da6595.tar.gz
rockbox-b677da6595.zip
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
-rw-r--r--apps/shortcuts.c2
1 files changed, 1 insertions, 1 deletions
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",