summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/calendar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c
index 05bca7c8cd..82125bb921 100644
--- a/apps/plugins/calendar.c
+++ b/apps/plugins/calendar.c
@@ -111,7 +111,7 @@ static void draw_headers(void)
char *Dayname[7] = {"M","T","W","T","F","S","S"};
int ws = 2;
rb->lcd_getstringsize("A",&w,&h);
- for (i = 0; i < 8;)
+ for (i = 0; i < 7;)
{
rb->lcd_putsxy(ws, 0 , Dayname[i++]);
ws += space;