summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elm_calendar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elm_calendar.c b/src/lib/elm_calendar.c
index 90a6f17ab..9af34c47d 100644
--- a/src/lib/elm_calendar.c
+++ b/src/lib/elm_calendar.c
@@ -1333,6 +1333,7 @@ _elm_calendar_mark_add(Eo *obj, Elm_Calendar_Data *sd, const char *mark_type, st
1333 Elm_Calendar_Mark *mark; 1333 Elm_Calendar_Mark *mark;
1334 1334
1335 mark = _mark_new(obj, mark_type, mark_time, repeat); 1335 mark = _mark_new(obj, mark_type, mark_time, repeat);
1336 if (!mark) return NULL;
1336 sd->marks = eina_list_append(sd->marks, mark); 1337 sd->marks = eina_list_append(sd->marks, mark);
1337 mark->node = eina_list_last(sd->marks); 1338 mark->node = eina_list_last(sd->marks);
1338 1339