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

[html] const in get_num

This commit is contained in:
Witold Filipczyk 2022-02-15 15:41:29 +01:00
parent d7d3268b5c
commit 1285e6dd38
2 changed files with 2 additions and 2 deletions

View File

@ -250,7 +250,7 @@ parse_error:
* It will return a positive integer value on success,
* or -1 on error. */
int
get_num(char *a, char *name, int cp)
get_num(char *a, const char *name, int cp)
{
char *al = get_attr_val(a, name, cp);
int result = -1;

View File

@ -64,7 +64,7 @@ typedef void (element_handler_T)(struct html_context *, char *attr,
int parse_element(char *, char *, char **, int *, char **, char **);
int get_num(char *, char *, int);
int get_num(char *, const char *, int);
int get_num2(char *);
int get_width(char *, char *, int, struct html_context *);