1
0
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:
Kalle Olavi Niemitalo 2007-01-02 21:36:03 +02:00 committed by Kalle Olavi Niemitalo
parent 176bbe83b6
commit 62d321fb31

View File

@ -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);