diary

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

commit f0c81fd0a17dc6103c7364e595c52af9b5658911
parent 915bff239839ac8c17a3ec87b6dc24ad74eeb952
Author: in0rdr <andreas.gruhler@uzh.ch>
Date:   Sat, 19 Nov 2016 11:11:46 +0800

Fix C99/C11 mode error

Diffstat:
Mdiary.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diary.c b/diary.c @@ -19,7 +19,7 @@ struct tm cal_end; static const char* WEEKDAYS[] = {"Mo","Tu","We","Th","Fr","Sa","Su", NULL}; void draw_wdays(WINDOW* head) { - char** wd = (char**)WEEKDAYS; + char** wd; for (wd = (char**)WEEKDAYS; *wd; wd++) { waddstr(head, *wd); waddch(head, ' ');