Mercurial > pidgin
changeset 23381:6b4b68323b3b
The text iterators need to be properly ordered here. Taking the iterators
from the x/y coordinates doesn't ensure the correct order, especially when
RTL languages are involved. Thanks to thefox in #pidgin for reporting the
bug.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 21 Jun 2008 11:07:17 +0000 |
parents | 8ea901db8e34 |
children | 76f7e2186c38 |
files | pidgin/gtkimhtml.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c Sat Jun 21 06:56:35 2008 +0000 +++ b/pidgin/gtkimhtml.c Sat Jun 21 11:07:17 2008 +0000 @@ -768,7 +768,7 @@ gtk_text_view_get_iter_at_location(GTK_TEXT_VIEW(widget), &end, buf_x + event->area.width, buf_y + event->area.height); - + gtk_text_iter_order(&start, &end); cur = start;