aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-field-chooser.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-field-chooser.c')
-rw-r--r--widgets/table/e-table-field-chooser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-field-chooser.c b/widgets/table/e-table-field-chooser.c
index 7da48d1322..25b94b2aca 100644
--- a/widgets/table/e-table-field-chooser.c
+++ b/widgets/table/e-table-field-chooser.c
@@ -106,9 +106,9 @@ ensure_nonzero_step_increments (ETableFieldChooser *etfc)
it looks pretty complicated to get height of column header
so use 16 pixels which should be OK
*/
- if (va && va->step_increment == 0.0)
+ if (va)
va->step_increment = 16.0;
- if (ha && ha->step_increment == 0.0)
+ if (ha)
ha->step_increment = 16.0;
}