mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[bfu] const char * in get_bfu_color
This commit is contained in:
parent
4849e7e16b
commit
2f51c30d70
@ -28,7 +28,7 @@ struct bfu_color_entry {
|
|||||||
static struct hash *bfu_colors = NULL;
|
static struct hash *bfu_colors = NULL;
|
||||||
|
|
||||||
struct color_pair *
|
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;
|
static enum color_mode last_color_mode;
|
||||||
struct bfu_color_entry *entry;
|
struct bfu_color_entry *entry;
|
||||||
|
@ -23,7 +23,7 @@ struct terminal;
|
|||||||
* @return A color pair matching the stylename or NULL.
|
* @return A color pair matching the stylename or NULL.
|
||||||
*/
|
*/
|
||||||
struct color_pair *
|
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
|
/** Cleanup after the BFU style cache
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user