]> Pileus Git - lackey/blobdiff - views/year.c
Bump copyright on files modified in 2013
[lackey] / views / year.c
index a081484bdd12269401ac4d9142862fffd57c4c9f..56bc8436be1a6bffc89564d2b9c150ea888a9016 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
@@ -81,6 +81,9 @@ void year_draw(void)
        int y = 0;
        int h[4] = {};
 
+       /* Load cal data */
+       cal_load(YEAR, 0, 0, 366);
+
        /* Determine heights */
        for (int m = 0; m < 12; m++) {
                int weeks = weeks_in_month(YEAR, m);