1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

[bfu] const char * in get_bfu_color

This commit is contained in:
Witold Filipczyk 2022-01-21 20:29:30 +01:00
parent 4849e7e16b
commit 2f51c30d70
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ struct bfu_color_entry {
static struct hash *bfu_colors = NULL;
struct color_pair *
get_bfu_color(struct terminal *term, char *stylename)
get_bfu_color(struct terminal *term, const char *stylename)
{
static enum color_mode last_color_mode;
struct bfu_color_entry *entry;

View File

@ -23,7 +23,7 @@ struct terminal;
* @return A color pair matching the stylename or NULL.
*/
struct color_pair *
get_bfu_color(struct terminal *term, char *stylename);
get_bfu_color(struct terminal *term, const char *stylename);
/** Cleanup after the BFU style cache
*