pressed_date initialization

pressed_date inited in create function.
This commit is contained in:
Ali Rostami
2018-10-16 08:35:09 +03:30
committed by GitHub
parent e315170c8d
commit 23166f43d7
+5 -1
View File
@@ -97,7 +97,11 @@ lv_obj_t * lv_calendar_create(lv_obj_t * par, const lv_obj_t * copy)
ext->showed_date.year = 2018;
ext->showed_date.month = 1;
ext->showed_date.day = 1;
ext->pressed_date.year = 0;
ext->pressed_date.month = 0
ext->pressed_date.day = 0
ext->highlighted_dates = NULL;
ext->highlighted_dates_num = 0;
ext->day_names = NULL;