1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-13 05:43:37 -04:00

[bfu] const in input_dialog

This commit is contained in:
Witold Filipczyk 2022-01-30 18:21:52 +01:00
parent 277f341d2b
commit dc3ba3ef3b
2 changed files with 4 additions and 4 deletions

View File

@ -199,7 +199,7 @@ input_field(struct terminal *term, struct memory_list *ml, int intl,
char *okbutton,
char *cancelbutton,
void *data, struct input_history *history, int l,
char *def, int min, int max,
const char *def, int min, int max,
widget_handler_T *check,
void (*fn)(void *, char *),
void (*cancelfn)(void *))
@ -248,7 +248,7 @@ input_dialog(struct terminal *term, struct memory_list *ml,
char *title,
char *text,
void *data, struct input_history *history, int l,
char *def, int min, int max,
const char *def, int min, int max,
widget_handler_T *check,
void (*fn)(void *, char *),
void (*cancelfn)(void *))

View File

@ -69,7 +69,7 @@ void dlg_format_field(struct dialog_data *, struct widget_data *, int, int *, in
void input_field(struct terminal *, struct memory_list *, int, char *,
char *, char *, char *, void *,
struct input_history *, int, char *, int, int,
struct input_history *, int, const char *, int, int,
widget_handler_T *check,
void (*)(void *, char *),
void (*)(void *));
@ -79,7 +79,7 @@ input_dialog(struct terminal *term, struct memory_list *ml,
char *title,
char *text,
void *data, struct input_history *history, int l,
char *def, int min, int max,
const char *def, int min, int max,
widget_handler_T *check,
void (*fn)(void *, char *),
void (*cancelfn)(void *));