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

[html] const in get_width

This commit is contained in:
Witold Filipczyk 2022-02-17 20:46:34 +01:00
parent 74c2ebd12b
commit 6ce61714a1
2 changed files with 2 additions and 2 deletions

View File

@ -295,7 +295,7 @@ get_num2(char *al)
* @limited must be set to be able to parse percentage widths. */
/* The function returns width in characters or -1 in case of error. */
int
get_width(char *a, char *name, int limited,
get_width(char *a, const char *name, int limited,
struct html_context *html_context)
{
char *value = get_attr_val(a, name, html_context->doc_cp);

View File

@ -67,7 +67,7 @@ int parse_element(char *, char *, char **, int *, char **, char **);
int get_num(char *, const char *, int);
int get_num2(char *);
int get_width(char *, char *, int, struct html_context *);
int get_width(char *, const char *, int, struct html_context *);
int get_width2(char *, int , struct html_context *);
char *skip_comment(char *, char *);