From e4b1580d1e117eb9ace7e61a6f8d5d680b9c070d Mon Sep 17 00:00:00 2001 From: ketrptr Date: Mon, 16 Dec 2024 09:40:51 +0100 Subject: [PATCH] modified: Makefile modified: src/planner.c --- Makefile | 2 +- src/planner.c | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 7e8a0b2..c571044 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ edit: nvim $(PLF) Makefile $(LLST) src/test.c clean: - rm -rf *.o debugOut src/*.gch + rm -rf *.o debugOut src/*.gch *.csv *.ics diff --git a/src/planner.c b/src/planner.c index 723658a..9146f82 100644 --- a/src/planner.c +++ b/src/planner.c @@ -16,13 +16,12 @@ #include #ifdef _WIN32 - -_WIN32 #define ctime_r(T, Tm)(localtime_s(Tm, T) ? NULL : Tm) +#define ctime_r(T, Tm) (localtime_s(Tm, T) ? NULL : Tm) #define localtime_r(T, Tm) (localtime_s(Tm, T) ? NULL : Tm) #endif /* ifdef _WIN32 */ - const uint intervalLen = 45; // min -const uint pauseLen = 10; // +const uint intervalLen = 45; // min +const uint pauseLen = 10; // const char taskFormat[] = "Task { %.64s = {\n created={%lu},\n deadline={%lu},\n "