Add if 0 around problematic code

This commit is contained in:
twinaphex 2015-10-27 12:08:45 +01:00
parent 53d95a1ac9
commit a9b9f20a32

View File

@ -1322,16 +1322,19 @@ static bool zarch_menu_init_list(void *data)
file_list_t *menu_stack = menu_entries_get_menu_stack_ptr(0);
file_list_t *selection_buf = menu_entries_get_selection_buf_ptr(0);
#if 0
strlcpy(info.label, menu_hash_to_str(MENU_VALUE_MAIN_MENU), sizeof(info.label));
menu_entries_push(menu_stack, info.path, info.label, info.type, info.flags, 0);
#endif
strlcpy(info.label, menu_hash_to_str(MENU_VALUE_HISTORY_TAB), sizeof(info.label));
menu_entries_push(menu_stack, info.path, info.label, info.type, info.flags, 0);
#if 0
menu_entries_increment_menu_stack();
strlcpy(info.label, menu_hash_to_str(MENU_VALUE_MAIN_MENU), sizeof(info.label));
menu_entries_push(menu_stack, info.path, info.label, info.type, info.flags, 0);
#endif
event_command(EVENT_CMD_HISTORY_INIT);
info.list = selection_buf;