mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[html] const in get_color
This commit is contained in:
parent
84f39d8f83
commit
5cf94fdf32
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
extract_color(struct html_context *html_context, char *a,
|
extract_color(struct html_context *html_context, char *a,
|
||||||
char *attribute, color_T *rgb)
|
const char *attribute, color_T *rgb)
|
||||||
{
|
{
|
||||||
char *value;
|
char *value;
|
||||||
int retval;
|
int retval;
|
||||||
@ -69,7 +69,7 @@ extract_color(struct html_context *html_context, char *a,
|
|||||||
|
|
||||||
int
|
int
|
||||||
get_color(struct html_context *html_context, char *a,
|
get_color(struct html_context *html_context, char *a,
|
||||||
char *attribute, color_T *rgb)
|
const char *attribute, color_T *rgb)
|
||||||
{
|
{
|
||||||
if (!use_document_fg_colors(html_context->options))
|
if (!use_document_fg_colors(html_context->options))
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -214,7 +214,7 @@ get_image_map(char *head, char *pos, char *eof,
|
|||||||
* will only add two line-breaks for the entire run of <br>'s. */
|
* will only add two line-breaks for the entire run of <br>'s. */
|
||||||
void ln_break(struct html_context *html_context, int n);
|
void ln_break(struct html_context *html_context, int n);
|
||||||
|
|
||||||
int get_color(struct html_context *html_context, char *a, char *c, color_T *rgb);
|
int get_color(struct html_context *html_context, char *a, const char *c, color_T *rgb);
|
||||||
|
|
||||||
int get_color2(struct html_context *html_context, char *value_value, color_T *rgb);
|
int get_color2(struct html_context *html_context, char *value_value, color_T *rgb);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user