X-Git-Url: http://pileus.org/git/?p=lackey;a=blobdiff_plain;f=view%2Fyear.c;h=d20f22fe4bd86cc2e8eeb41c74786c2bf765ee11;hp=1505494db9aec49dfaa6d25e7b6a9c5c73ac6c8a;hb=f38a6d9028aa186d31710008d8bf86af5c341da1;hpb=011e995ee05e3fd9a990a39c85d4b279e16fd86e diff --git a/view/year.c b/view/year.c index 1505494..d20f22f 100644 --- a/view/year.c +++ b/view/year.c @@ -40,7 +40,7 @@ static void print_month(month_t month, int y, int x) for (int d = 0; d < days; d++) { int row = (start + d) / 7; int col = (start + d) % 7; - mvwprintw(win, y+2+row, x+col*3, "%d", d+1); + mvwprintw(win, y+2+row, x+col*3, "%2d", d+1); } }