From 830dd4e12dba503e550ede653dca951cb31fdc27 Mon Sep 17 00:00:00 2001 From: Joanmarie Diggs Date: Sat, 20 Jul 2013 16:49:21 -0400 Subject: [PATCH] ev-link-accesible: Return the index/offset after the last character in the link https://bugzilla.gnome.org/show_bug.cgi?id=704616 --- 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 b52dff76..2a2bb055 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;