(dview_get_utf): apply const qualifier to str argument.

This commit is contained in:
Andrew Borodin 2016-03-29 11:10:23 +03:00
parent fde36f2d1a
commit 0b46b4690f

View File

@ -581,7 +581,7 @@ dview_get_byte (char *str, gboolean * result)
*/
static int
dview_get_utf (char *str, int *char_length, gboolean * result)
dview_get_utf (const char *str, int *char_length, gboolean * result)
{
int res = -1;
gunichar ch;