about summary refs log tree commit diff
path: root/src/usr.bin/calendar/day.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/calendar/day.c')
-rw-r--r--src/usr.bin/calendar/day.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/calendar/day.c b/src/usr.bin/calendar/day.c
index a34e785..c94a844 100644
--- a/src/usr.bin/calendar/day.c
+++ b/src/usr.bin/calendar/day.c
@@ -1,4 +1,4 @@
-/*	$OpenBSD: day.c,v 1.34 2016/09/14 15:09:46 millert Exp $	*/
+/*	$OpenBSD: day.c,v 1.36 2019/02/01 16:22:53 millert Exp $	*/
 
 /*
  * Copyright (c) 1989, 1993, 1994
@@ -166,7 +166,7 @@ settime(time_t *now)
 		cumdays = daytab[0];
 	/* Friday displays Monday's events */
 	offset = tp->tm_wday == 5 ? 3 : 1;
-	if (f_SetdayAfter)
+	if (f_Setday)
 		offset = 0;	/* Except not when range is set explicitly */
 	header[5].iov_base = dayname;