From fecb2a31d7ed98cae0f98f907fffb3937050bde1 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Sun, 14 Oct 2012 07:04:23 +0000 Subject: [PATCH] Fix month draw bug --- view/month.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.43.2