Skip to content

Commit

Permalink
ev-link-accesible: Return the index/offset after the last character i…
Browse files Browse the repository at this point in the history
  • Loading branch information
Joanmarie Diggs authored and Carlos Garcia Campos committed Jul 25, 2013
1 parent 3094259 commit 830dd4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libview/ev-link-accessible.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 830dd4e

Please sign in to comment.