Skip to content
Commit 69b9d0b8 authored by Carlos Soriano Sánchez's avatar Carlos Soriano Sánchez
Browse files

batch-rename-dialog: use strlen for gtk_editable_insert_text

We were using utf8_lenght, which is the right approach to know the
number of characters. However, gtk_editable_insert_text expects bytes
rather than number of characters.

This was causing languages that have unicode characters in the tags
to have a buggy batch rename dialog.

To fix it, use strlen so we get the number of bytes.

https://bugzilla.gnome.org/show_bug.cgi?id=772063
parent 5813e950
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment