Commit 6886f053 authored by Christian Hergert's avatar Christian Hergert

libide: fix rectangle bounds for single char

parent 960cff3b
...@@ -365,7 +365,10 @@ get_rect_for_iters (GtkTextView *text_view, ...@@ -365,7 +365,10 @@ get_rect_for_iters (GtkTextView *text_view,
end = *iter2; end = *iter2;
if (gtk_text_iter_equal (&begin, &end)) if (gtk_text_iter_equal (&begin, &end))
gtk_text_view_get_iter_location (text_view, &begin, &area);
goto finish; goto finish;
gtk_text_iter_order (&begin, &end); gtk_text_iter_order (&begin, &end);
Markdown is supported
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