X-Git-Url: http://pileus.org/git/?p=lackey;a=blobdiff_plain;f=views%2Fmonth.c;h=60ee80766f95409446b529e69f894cdcf16fd821;hp=c84fe94c5a980fdacd4a5e77927fa5db27e46efd;hb=bbfc6036a8553c1c10093247c705795f243daf1e;hpb=6ce9d3a06c405a01c05366689978daa60e225725 diff --git a/views/month.c b/views/month.c index c84fe94..60ee807 100644 --- a/views/month.c +++ b/views/month.c @@ -51,6 +51,9 @@ void month_draw(void) const float hstep = (float)(COLS-1)/7.0; const float vstep = (float)(LINES-2-hdr+COMPACT)/weeks; + /* Load cal data */ + cal_load(YEAR, MONTH, 0, days); + /* Print Header */ if (COMPACT) wattron(win, A_REVERSE | A_BOLD); if (COMPACT) mvwhline(win, 0, 0, ' ' | A_REVERSE | A_BOLD, COLS);