1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[bfu] const in add_to_menu

This commit is contained in:
Witold Filipczyk 2022-02-10 19:57:33 +01:00
parent 6ee1349dfb
commit b9701abffb
2 changed files with 2 additions and 2 deletions

View File

@ -1386,7 +1386,7 @@ new_menu(menu_item_flags_T flags)
}
void
add_to_menu(struct menu_item **mi, char *text, char *rtext,
add_to_menu(struct menu_item **mi, const char *text, char *rtext,
main_action_T action_id, menu_func_T func, void *data,
menu_item_flags_T flags)
{

View File

@ -169,7 +169,7 @@ struct menu {
struct menu_item *new_menu(menu_item_flags_T);
void
add_to_menu(struct menu_item **mi, char *text, char *rtext,
add_to_menu(struct menu_item **mi, const char *text, char *rtext,
main_action_T action_id, menu_func_T func, void *data,
menu_item_flags_T flags);