diff options
-rw-r--r-- | widgets/table/e-cell-text.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c index 60ee316e49..6477a91814 100644 --- a/widgets/table/e-cell-text.c +++ b/widgets/table/e-cell-text.c @@ -463,7 +463,9 @@ build_layout (ECellTextView *text_view, int row, const char *text) bold = ect->bold_column >= 0 && row >= 0 && e_table_model_value_at(ecell_view->e_table_model, ect->bold_column, row); - strikeout = ect->strikeout_column >= 0 && e_table_model_value_at(ecell_view->e_table_model, ect->strikeout_column, row); + strikeout = ect->strikeout_column >= 0 && + row >= 0 && + e_table_model_value_at(ecell_view->e_table_model, ect->strikeout_column, row); if (bold || strikeout) { PangoAttrList *attrs; |