summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/command_shortcuts.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/command_shortcuts.go b/app/command_shortcuts.go
index 547d8155f..9eefb698e 100644
--- a/app/command_shortcuts.go
+++ b/app/command_shortcuts.go
@@ -37,7 +37,7 @@ func (me *ShortcutsProvider) GetCommand(T goi18n.TranslateFunc) *model.Command {
}
func (me *ShortcutsProvider) DoCommand(args *model.CommandArgs, message string) *model.CommandResponse {
- shortcutIds := [29]string{
+ shortcutIds := [...]string{
"api.command_shortcuts.header",
// Nav shortcuts
"api.command_shortcuts.nav.header",