mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-16 01:08:31 -04:00
Make add_utf8 accept a pointer to const.
This commit is contained in:
parent
176bbe83b6
commit
62d321fb31
@ -772,7 +772,7 @@ cp_to_unicode(int codepage, unsigned char **string, unsigned char *end)
|
||||
|
||||
|
||||
static void
|
||||
add_utf8(struct conv_table *ct, unicode_val_T u, unsigned char *str)
|
||||
add_utf8(struct conv_table *ct, unicode_val_T u, const unsigned char *str)
|
||||
{
|
||||
unsigned char *p = encode_utf8(u);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user