modified: src/ui.c

This commit is contained in:
ketrptr committed 2024-12-16 11:22:15 +01:00
1 parent d794d1c59c
commit ac45c8cb65
1 file changed
+1
+1
View File
@@ -99,6 +99,7 @@ int main(void) {
// if list exists use it to generate plan
if (listT != NULL) {
struct tm lc;
now = time(NULL);
localtime_r(&now, &lc);
lc.tm_hour += taskspare;
time_t avail = mktime(&lc);