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

[option] const char *

This commit is contained in:
Witold Filipczyk 2022-01-13 20:13:13 +01:00
parent 1fb8547c94
commit de2bf98680
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ done_document_options(struct document_options *options)
}
void
toggle_document_option(struct session *ses, char *option_name)
toggle_document_option(struct session *ses, const char *option_name)
{
struct option *option;

View File

@ -191,7 +191,7 @@ int compare_opt(struct document_options *o1, struct document_options *o2);
/** Increments the numeric value of the option identified by @a option_name,
* resetting it to the minimum value when it is already at the maximum value,
* and redraws the document. */
void toggle_document_option(struct session *ses, char *option_name);
void toggle_document_option(struct session *ses, const char *option_name);
#ifdef __cplusplus
}