aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-header.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-table/e-table-header.c')
-rw-r--r--widgets/e-table/e-table-header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/e-table/e-table-header.c b/widgets/e-table/e-table-header.c
index 06aeb50b3f..f95797e5c4 100644
--- a/widgets/e-table/e-table-header.c
+++ b/widgets/e-table/e-table-header.c
@@ -616,7 +616,7 @@ e_table_header_col_diff (ETableHeader *eth, int start_col, int end_col)
if (start_col < 0)
start_col = 0;
if (end_col > eth->col_count)
- end_col = eth->col_count - 1;
+ end_col = eth->col_count;
total = 0;
for (col = start_col; col < end_col; col++){