diff options
-rw-r--r-- | widgets/table/e-table-memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-table-memory.c b/widgets/table/e-table-memory.c index 33ac959283..1a95a07deb 100644 --- a/widgets/table/e-table-memory.c +++ b/widgets/table/e-table-memory.c @@ -175,7 +175,7 @@ e_table_memory_insert (ETableMemory *etmm, gpointer data) { g_return_if_fail(row >= -1); - g_return_if_fail(row < etmm->priv->num_rows); + g_return_if_fail(row <= etmm->priv->num_rows); if (!etmm->priv->frozen) e_table_model_pre_change(E_TABLE_MODEL(etmm)); |