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 eb20c0f..c872f86 100644 --- a/src/planner.c +++ b/src/planner.c @@ -15,15 +15,13 @@ #include #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 unsigned int intervalLen = 45; // min -const unsigned int pauseLen = 10; // +const unsigned int pauseLen = 10; // const char taskFormat[] = "Task { %.64s = {\n created={%lu},\n deadline={%lu},\n "