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

[menu] enum pass_uri_type -> pass_uri_type_T

This commit is contained in:
Witold Filipczyk 2022-01-28 15:20:30 +01:00
parent 58c07356b9
commit 4a4997c57b
2 changed files with 6 additions and 4 deletions

View File

@ -819,7 +819,7 @@ pass_uri_to_command(struct session *ses, struct document_view *doc_view,
{
LIST_OF(struct option) *tree = get_opt_tree("document.uri_passing",
NULL);
enum pass_uri_type type = which_type;
pass_uri_type_T type = which_type;
struct menu_item *items;
struct option *option, *sub;
struct uri *uri;
@ -913,7 +913,7 @@ pass_uri_to_command(struct session *ses, struct document_view *doc_view,
/* The caller provides the text of the menu item, so that it can
* choose an available accelerator key. */
void
add_uri_command_to_menu(struct menu_item **mi, enum pass_uri_type type,
add_uri_command_to_menu(struct menu_item **mi, pass_uri_type_T type,
char *text)
{
LIST_OF(struct option) *tree = get_opt_tree("document.uri_passing",

View File

@ -54,8 +54,10 @@ enum pass_uri_type {
PASS_URI_TAB,
};
void add_uri_command_to_menu(struct menu_item **mi, enum pass_uri_type type, char *text);
enum frame_event_status pass_uri_to_command(struct session *ses, struct document_view *doc_view, int /* enum pass_uri_type */ type);
typedef int pass_uri_type_T;
void add_uri_command_to_menu(struct menu_item **mi, pass_uri_type_T type, char *text);
enum frame_event_status pass_uri_to_command(struct session *ses, struct document_view *doc_view, int /* pass_uri_type_T */ type);
void
auto_complete_file(struct terminal *term, int no_elevator, char *path,