summaryrefslogtreecommitdiff
path: root/apps/plugins/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/calendar.c')
-rw-r--r--apps/plugins/calendar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c
index 8ed6122c3f..8798406b2e 100644
--- a/apps/plugins/calendar.c
+++ b/apps/plugins/calendar.c
@@ -114,7 +114,7 @@ static void draw_headers(void)
114 rb->lcd_putsxy(ws, 0 , Dayname[i++]); 114 rb->lcd_putsxy(ws, 0 , Dayname[i++]);
115 ws += space; 115 ws += space;
116 } 116 }
117 rb->lcd_drawline(0 ,h ,LCD_WIDTH-1 ,h); 117 rb->lcd_hline(0, LCD_WIDTH-1 ,h);
118} 118}
119 119
120static bool day_has_memo[31]; 120static bool day_has_memo[31];
@@ -170,8 +170,8 @@ static void draw_calendar(struct shown *shown)
170 ws = 2; 170 ws = 2;
171 } 171 }
172 } 172 }
173 rb->lcd_drawline(60,LCD_HEIGHT-h-3,60,LCD_HEIGHT-1); 173 rb->lcd_vline(60,LCD_HEIGHT-h-3,LCD_HEIGHT-1);
174 rb->lcd_drawline(60,LCD_HEIGHT-h-3,LCD_WIDTH-1,LCD_HEIGHT-h-3); 174 rb->lcd_hline(60,LCD_WIDTH-1,LCD_HEIGHT-h-3);
175 rb->snprintf(buffer,9,"%s %04d",Monthname[shown->mon-1],shown->year); 175 rb->snprintf(buffer,9,"%s %04d",Monthname[shown->mon-1],shown->year);
176 rb->lcd_putsxy(62,(LCD_HEIGHT-h-1),buffer); 176 rb->lcd_putsxy(62,(LCD_HEIGHT-h-1),buffer);
177 shown->lastday = pos; 177 shown->lastday = pos;