[evince] a11y: fixed offset index error



commit af0c0f056f8e2f64244df3b7cf1132347f4a9716
Author: danigm <danigm wadobo com>
Date:   Mon Mar 21 08:19:58 2011 +0100

    a11y: fixed offset index error

 libview/ev-view-accessible.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libview/ev-view-accessible.c b/libview/ev-view-accessible.c
index 5834af2..bb5b817 100644
--- a/libview/ev-view-accessible.c
+++ b/libview/ev-view-accessible.c
@@ -417,7 +417,7 @@ ev_view_accessible_get_character_extents (AtkText      *text,
 	if (!areas)
 		return;
 
-	if (offset > n_areas)
+	if (offset >= n_areas)
 		return;
 
 	rect = areas + offset;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]