From 41884992f8e5f2c458a93f8d640560c168dcaa48 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 30 Oct 2001 20:57:11 +0000 Subject: Request the right regions here. The range given is inclusive, not 2001-10-30 Christopher James Lahey * e-table-item.c (eti_show_cursor, eti_check_cursor_bounds): Request the right regions here. The range given is inclusive, not inclusive/exclusive. svn path=/trunk/; revision=14479 --- widgets/table/e-table-item.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 988fb7e8fb..69b866e910 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -850,7 +850,7 @@ eti_show_cursor (ETableItem *eti, int delay) if (cursor_row != -1) { cursor_row = model_to_view_row (eti, cursor_row); eti_request_region_show (eti, - 0, cursor_row, eti->cols + 1, cursor_row + 1, + 0, cursor_row, eti->cols - 1, cursor_row, delay); } } @@ -902,7 +902,7 @@ eti_check_cursor_bounds (ETableItem *eti) d(g_print ("%s: cursor row: %d\n", __FUNCTION__, cursor_row)); eti_get_region (eti, - 0, cursor_row, eti->cols + 1, cursor_row + 1, + 0, cursor_row, eti->cols - 1, cursor_row, &x1, &y1, &x2, &y2); eti->cursor_x1 = x1; eti->cursor_y1 = y1; -- cgit