summaryrefslogtreecommitdiff
path: root/apps
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 /apps
parentf8d1f791be573eb557a015bcf3163a4ecee775a2 (diff)
downloadrockbox-b677da6595eb233851829e1d53a2d34aecced792.tar.gz
rockbox-b677da6595eb233851829e1d53a2d34aecced792.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
Diffstat (limited to 'apps')
-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 @@
51#include "playback.h" 51#include "playback.h"
52#endif 52#endif
53 53
54#define MAX_SHORTCUT_NAME 32 54#define MAX_SHORTCUT_NAME 64
55#define SHORTCUTS_FILENAME ROCKBOX_DIR "/shortcuts.txt" 55#define SHORTCUTS_FILENAME ROCKBOX_DIR "/shortcuts.txt"
56static const char * const type_strings[SHORTCUT_TYPE_COUNT] = { 56static const char * const type_strings[SHORTCUT_TYPE_COUNT] = {
57 [SHORTCUT_SETTING] = "setting", 57 [SHORTCUT_SETTING] = "setting",