diff options
Diffstat (limited to 'widgets/e-table/e-table-header.c')
-rw-r--r-- | widgets/e-table/e-table-header.c | 2 |
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 2ac82215df..06aeb50b3f 100644 --- a/widgets/e-table/e-table-header.c +++ b/widgets/e-table/e-table-header.c @@ -447,7 +447,7 @@ e_table_header_move (ETableHeader *eth, int source_index, int target_index) g_return_if_fail (source_index >= 0); g_return_if_fail (target_index >= 0); g_return_if_fail (source_index < eth->col_count); - g_return_if_fail (target_index < eth->col_count); + g_return_if_fail (target_index < eth->col_count + 1); /* Can be moved beyond the last item. */ if (source_index < target_index) target_index --; |