(Menu) Remove message_contents

This commit is contained in:
twinaphex 2015-09-24 01:12:25 +02:00
parent 64018e1020
commit 3436a85489
2 changed files with 0 additions and 7 deletions

View File

@ -56,12 +56,6 @@ typedef struct menu_display
unsigned header_height;
/* This buffer can be used to display generic OK messages to the user.
* Fill it and call
* menu_list_push(driver->menu->menu_stack, "", "message", 0, 0);
*/
char message_contents[PATH_MAX_LENGTH];
msg_queue_t *msg_queue;
} menu_display_t;

View File

@ -492,7 +492,6 @@ int menu_iterate(bool render_this_frame, unsigned action)
menu->state.do_post_iterate = true;
break;
case ITERATE_TYPE_MESSAGE:
strlcpy(menu->state.msg, disp->message_contents, sizeof(menu->state.msg));
menu->state.pop_selected = &nav->selection_ptr;
menu->state.do_messagebox = true;
menu->state.do_pop_stack = true;