C89 buildfix

This commit is contained in:
Brad Parker 2017-11-28 11:43:32 -05:00
parent eddeaddb17
commit 224b581881

View File

@ -129,7 +129,7 @@ bool menu_input_dialog_start(menu_input_ctx_line_t *line)
menu_input_dialog_display_kb();
// Only copy over the menu label and setting if they exist.
/* Only copy over the menu label and setting if they exist. */
if (line->label)
strlcpy(menu_input_dialog_keyboard_label, line->label,
sizeof(menu_input_dialog_keyboard_label));