From 0331011c0069be9092385e7f0ad38cd2d5627833 Mon Sep 17 00:00:00 2001 From: yoz Date: Thu, 19 Apr 2012 22:47:53 +0000 Subject: [PATCH] elementary: warn-- git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@70341 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_calendar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/elm_calendar.c b/src/lib/elm_calendar.c index f90d8fe..4f0473e 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) ELM_CHECK_WIDTYPE(obj, widtype); Widget_Data *wd = elm_widget_data_get(obj); if (!wd) return; - if ((mode >= ELM_CALENDAR_SELECT_MODE_DEFAULT) - && (mode <= ELM_CALENDAR_SELECT_MODE_ONDEMAND) + if ((mode <= ELM_CALENDAR_SELECT_MODE_ONDEMAND) && (wd->select_mode != mode)) { wd->select_mode = mode; -- 2.7.4