elementary: warn--

SVN revision: 70341
This commit is contained in:
Michael BOUCHAUD 2012-04-19 22:47:53 +00:00
parent 1fb9bcf305
commit 4b6c52a4d6
1 changed files with 1 additions and 2 deletions

View File

@ -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;