mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
add_dlg_button_do: Let file point to const.
This commit is contained in:
parent
be9660f7d0
commit
da759b10f0
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
#ifdef DEBUG_BUTTON_HOTKEY
|
#ifdef DEBUG_BUTTON_HOTKEY
|
||||||
void
|
void
|
||||||
add_dlg_button_do(unsigned char *file, int line,
|
add_dlg_button_do(const unsigned char *file, int line,
|
||||||
struct dialog *dlg, unsigned char *text, int flags,
|
struct dialog *dlg, unsigned char *text, int flags,
|
||||||
widget_handler_T *handler, void *data,
|
widget_handler_T *handler, void *data,
|
||||||
done_handler_T *done, void *done_data)
|
done_handler_T *done, void *done_data)
|
||||||
|
@ -30,7 +30,7 @@ struct widget_info_button {
|
|||||||
|
|
||||||
|
|
||||||
#ifdef DEBUG_BUTTON_HOTKEY
|
#ifdef DEBUG_BUTTON_HOTKEY
|
||||||
void add_dlg_button_do(unsigned char *file, int line, struct dialog *dlg, unsigned char *text, int flags, widget_handler_T *handler, void *data, done_handler_T *done, void *done_data);
|
void add_dlg_button_do(const unsigned char *file, int line, struct dialog *dlg, unsigned char *text, int flags, widget_handler_T *handler, void *data, done_handler_T *done, void *done_data);
|
||||||
#define add_dlg_ok_button(dlg, text, flags, done, data) \
|
#define add_dlg_ok_button(dlg, text, flags, done, data) \
|
||||||
add_dlg_button_do(__FILE__, __LINE__, dlg, text, flags, ok_dialog, NULL, done, data)
|
add_dlg_button_do(__FILE__, __LINE__, dlg, text, flags, ok_dialog, NULL, done, data)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user