diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-10-31 04:57:11 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-10-31 04:57:11 +0800 |
commit | 41884992f8e5f2c458a93f8d640560c168dcaa48 (patch) | |
tree | c0a52ac0c3a400c3d716c45d7ff08c779d5d1071 /widgets/table/e-table-item.c | |
parent | d42a48e07c80497cde0d7096dba119e25fe49d6a (diff) | |
download | gsoc2013-evolution-41884992f8e5f2c458a93f8d640560c168dcaa48.tar.gz gsoc2013-evolution-41884992f8e5f2c458a93f8d640560c168dcaa48.tar.zst gsoc2013-evolution-41884992f8e5f2c458a93f8d640560c168dcaa48.zip |
Request the right regions here. The range given is inclusive, not
2001-10-30 Christopher James Lahey <clahey@ximian.com>
* 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
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r-- | widgets/table/e-table-item.c | 4 |
1 files 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; |