diff --git a/src/interface/keyboard_shortcut.c b/src/interface/keyboard_shortcut.c index 948dde6dd9..224b17dd55 100644 --- a/src/interface/keyboard_shortcut.c +++ b/src/interface/keyboard_shortcut.c @@ -78,7 +78,7 @@ void keyboard_shortcut_handle_command(int shortcutIndex) void keyboard_shortcut_format_string(char *buffer, uint16 shortcutKey) { - char *formatBuffer[256]; + char formatBuffer[256]; *buffer = 0; if (shortcutKey & 0x100) {