summaryrefslogtreecommitdiffstats
path: root/src/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/calendar.c')
-rw-r--r--src/calendar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/calendar.c b/src/calendar.c
index c369ef0..584dfc8 100644
--- a/src/calendar.c
+++ b/src/calendar.c
@@ -547,7 +547,7 @@ draw_weekly_view (struct window *cwin, struct date *current_day,
custom_remove_attr (cwin->p, attr);
/* Draw slices indicating appointment times. */
- bzero (slices, DAYSLICESNO * sizeof *slices);
+ memset (slices, 0, DAYSLICESNO * sizeof *slices);
if (day_chk_busy_slices (date, DAYSLICESNO, slices))
{
for (i = 0; i < DAYSLICESNO; i++)