aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r--calendar/gui/e-cal-model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 273e452c88..246d3dc2bd 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -1572,7 +1572,7 @@ ecm_initialize_value (ETableModel *etm,
switch (col) {
case E_CAL_MODEL_FIELD_CATEGORIES :
- return g_strdup (priv->default_category?priv->default_category:"");
+ return g_strdup (priv->default_category ? priv->default_category:"");
case E_CAL_MODEL_FIELD_CLASSIFICATION :
case E_CAL_MODEL_FIELD_DESCRIPTION :
case E_CAL_MODEL_FIELD_SUMMARY :