diff options
Diffstat (limited to 'apps/plugins/calendar.c')
| -rw-r--r-- | apps/plugins/calendar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c index 8ed6122..8798406 100644 --- a/apps/plugins/calendar.c +++ b/apps/plugins/calendar.c @@ -114,7 +114,7 @@ static void draw_headers(void) rb->lcd_putsxy(ws, 0 , Dayname[i++]); ws += space; } - rb->lcd_drawline(0 ,h ,LCD_WIDTH-1 ,h); + rb->lcd_hline(0, LCD_WIDTH-1 ,h); } static bool day_has_memo[31]; @@ -170,8 +170,8 @@ static void draw_calendar(struct shown *shown) ws = 2; } } - rb->lcd_drawline(60,LCD_HEIGHT-h-3,60,LCD_HEIGHT-1); - rb->lcd_drawline(60,LCD_HEIGHT-h-3,LCD_WIDTH-1,LCD_HEIGHT-h-3); + rb->lcd_vline(60,LCD_HEIGHT-h-3,LCD_HEIGHT-1); + rb->lcd_hline(60,LCD_WIDTH-1,LCD_HEIGHT-h-3); rb->snprintf(buffer,9,"%s %04d",Monthname[shown->mon-1],shown->year); rb->lcd_putsxy(62,(LCD_HEIGHT-h-1),buffer); shown->lastday = pos; |