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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 2cf8638f9f..d2ae13f9dc 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -1469,8 +1469,10 @@ redo_queries (ECalModel *model)
" %s)",
iso_start, iso_end,
priv->search_sexp ? priv->search_sexp : "");
+ } else if (priv->search_sexp) {
+ priv->full_sexp = g_strdup (priv->search_sexp);
} else {
- priv->full_sexp = ("#f");
+ priv->full_sexp = g_strdup ("#f");
}
/* clean up the current contents */