Compare commits
2 Commits
aee1ab81a9
...
6816c4eacf
Author | SHA1 | Date | |
---|---|---|---|
![]() |
6816c4eacf | ||
![]() |
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…
x
Reference in New Issue
Block a user