From 3c124fbac4dd43697d33d8d44ea6c48636c49884 Mon Sep 17 00:00:00 2001 From: Joanmarie Diggs Date: Sat, 20 Jul 2013 16:49:21 -0400 Subject: ev-link-accesible: Return the index/offset after the last character in the link https://bugzilla.gnome.org/show_bug.cgi?id=704616 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=830dd4e --- libview/ev-link-accessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libview/ev-link-accessible.c b/libview/ev-link-accessible.c index 029fb2df..beac1c0a 100644 --- a/libview/ev-link-accessible.c +++ b/libview/ev-link-accessible.c @@ -167,7 +167,7 @@ ev_hyperlink_get_end_index (AtkHyperlink *atk_hyperlink) c_y = rect->y1 + (rect->y2 - rect->y1) / 2.; if (c_x >= impl_priv->area.x1 && c_x <= impl_priv->area.x2 && c_y >= impl_priv->area.y1 && c_y <= impl_priv->area.y2) - return i; + return i + 1; } return -1; -- cgit v1.2.1