modified: src/ui.c
parent
d794d1c59c
commit
ac45c8cb65
1
src/ui.c
1
src/ui.c
|
@ -99,6 +99,7 @@ int main(void) {
|
||||||
// if list exists use it to generate plan
|
// if list exists use it to generate plan
|
||||||
if (listT != NULL) {
|
if (listT != NULL) {
|
||||||
struct tm lc;
|
struct tm lc;
|
||||||
|
now = time(NULL);
|
||||||
localtime_r(&now, &lc);
|
localtime_r(&now, &lc);
|
||||||
lc.tm_hour += taskspare;
|
lc.tm_hour += taskspare;
|
||||||
time_t avail = mktime(&lc);
|
time_t avail = mktime(&lc);
|
||||||
|
|
Loading…
Reference in New Issue