diary

Text-based journaling program
git clone https://git.in0rdr.ch/diary.git
Log | Files | Refs | README | LICENSE

commit 47c430fe6a3a5c9912bb887d6cafb0aaf5725325
parent 794dd6ae0bd961b289f62b06ecbf9bf8ea155e14
Author: in0rdr <andreas.gruhler@uzh.ch>
Date:   Thu, 17 Nov 2016 23:19:06 +0800

demo

Diffstat:
Ademo.gif | 0
Mdiary.c | 3++-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/demo.gif b/demo.gif Binary files differ. diff --git a/diary.c b/diary.c @@ -18,7 +18,8 @@ struct tm cal_end; void draw_wdays(WINDOW* head) { char* weekdays[] = {"Mo","Tu","We","Th","Fr","Sa","Su"}; - for (int wd = 0; wd < sizeof(weekdays)/sizeof(weekdays[0]); wd++) { + int wd; + for (wd = 0; wd < sizeof(weekdays)/sizeof(weekdays[0]); wd++) { waddstr(head, weekdays[wd]); waddch(head, ' '); }