]> Pileus Git - lackey/blobdiff - views/month.c
Bump copyright on files modified in 2013
[lackey] / views / month.c
index c84fe94c5a980fdacd4a5e77927fa5db27e46efd..a51935d95d7cea6f4fc2db312a7c5a1c980e2a0f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012 Andy Spencer <andy753421@gmail.com>
+ * Copyright (C) 2012-2013 Andy Spencer <andy753421@gmail.com>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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);