-
Benjamin Otte authored
gtk_editable_get_selection_bounds() returns UTF-8 character offsets, but gdk_pango_layout_get_clip_region() wants byte ranges, so convert from one to the other. With English, this is especially visible for passwords, which use ● as the invisible character. https://bugzilla.gnome.org/show_bug.cgi?id=761128
a222aa66