From: Andy Spencer Date: Sun, 14 Oct 2012 07:04:23 +0000 (+0000) Subject: Fix month draw bug X-Git-Url: http://pileus.org/git/?p=lackey;a=commitdiff_plain;h=fecb2a31d7ed98cae0f98f907fffb3937050bde1 Fix month draw bug --- diff --git a/view/month.c b/view/month.c index 4e8b237..b8e3eb1 100644 --- a/view/month.c +++ b/view/month.c @@ -109,7 +109,7 @@ void month_draw(void) int top = d >= start ? 0 : 1; int bot = d <= (start+days-1)%7+1 ? weeks : weeks-1; mvwvline(win, ROUND(4+top*vstep), ROUND(d*hstep), - ACS_VLINE, (bot-top)*vstep-1); + ACS_VLINE, (bot-top)*vstep); for (int w = 1; w < weeks; w++) { int chr = w == top ? ACS_TTEE : w == bot ? ACS_BTEE : ACS_PLUS;