From ccf1aaa5bede11c95d219adbf6267426b57613d2 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sat, 17 Dec 2022 02:43:41 -0500 Subject: menus move functions with parameters to their own type left the union with function(void) and function_w_param(param) as a few areas might still need to use both (onplay.c) there might be a few I missed yet.. Change-Id: I593a6875301923e19ba04ad1b0f3173dc9ebdf1f --- apps/onplay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/onplay.h') diff --git a/apps/onplay.h b/apps/onplay.h index 98d93b368c..807bfe8cf7 100644 --- a/apps/onplay.h +++ b/apps/onplay.h @@ -66,7 +66,7 @@ enum hotkey_flags { struct hotkey_assignment { int action; /* hotkey_action */ int lang_id; /* Language ID */ - struct menu_func func; /* Function to run if this entry is selected */ + struct menu_func_param func; /* Function to run if this entry is selected */ int16_t return_code; /* What to return after the function is run. */ uint16_t flags; /* Flags what context, display options */ }; /* (Pick ONPLAY_FUNC_RETURN to use function's return value) */ -- cgit v1.2.3