forked from enlightenment/efl
elm calendar - fix gmtime call to use an actual value
e85c92662b
added this bug. before it was
always set to 259200 (first sunday after epoch).
found by PVS studio
This commit is contained in:
parent
2c1e2db876
commit
ae79052376
|
@ -710,7 +710,7 @@ _set_headers(Evas_Object *obj)
|
||||||
static char part[] = "ch_0.text";
|
static char part[] = "ch_0.text";
|
||||||
int i;
|
int i;
|
||||||
struct tm *t;
|
struct tm *t;
|
||||||
time_t temp;
|
time_t temp = 259200; // the first sunday since epoch
|
||||||
ELM_CALENDAR_DATA_GET(obj, sd);
|
ELM_CALENDAR_DATA_GET(obj, sd);
|
||||||
|
|
||||||
elm_layout_freeze(obj);
|
elm_layout_freeze(obj);
|
||||||
|
|
Loading…
Reference in New Issue