summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elm_calendar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elm_calendar.c b/src/lib/elm_calendar.c
index f90d8fe0e..4f0473e9a 100644
--- a/src/lib/elm_calendar.c
+++ b/src/lib/elm_calendar.c
@@ -1006,8 +1006,7 @@ elm_calendar_select_mode_set(Evas_Object *obj, Elm_Calendar_Select_Mode mode)
1006 ELM_CHECK_WIDTYPE(obj, widtype); 1006 ELM_CHECK_WIDTYPE(obj, widtype);
1007 Widget_Data *wd = elm_widget_data_get(obj); 1007 Widget_Data *wd = elm_widget_data_get(obj);
1008 if (!wd) return; 1008 if (!wd) return;
1009 if ((mode >= ELM_CALENDAR_SELECT_MODE_DEFAULT) 1009 if ((mode <= ELM_CALENDAR_SELECT_MODE_ONDEMAND)
1010 && (mode <= ELM_CALENDAR_SELECT_MODE_ONDEMAND)
1011 && (wd->select_mode != mode)) 1010 && (wd->select_mode != mode))
1012 { 1011 {
1013 wd->select_mode = mode; 1012 wd->select_mode = mode;