Commit 769cc40c authored by Chris's avatar Chris
Browse files

fixed C23 extension warning

parent 5046094b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -62,8 +62,7 @@ char *menu_prompt(const menu_item *items, const unsigned int num_menu_items) {
			}
			break;
		case '\n':
			const unsigned int selected_index = hovered_selection_index;
			selected_action = items[selected_index].command;
			selected_action = items[hovered_selection_index].command; // choose the hovered + selected item
			break;
		default:
			break;