path: root/src/day.c
diff options
authorLars Henriksen <LarsHenriksen@get2net.dk>2019-05-12 21:52:43 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2019-05-26 10:04:27 -0400
commit4db9677119f412fd38440e5591afbfb631a11b3d (patch)
tree9fc990ddf548db4635e78a16fdc373a609390095 /src/day.c
parentf9cf5fb0c1528c006697a23813be72f69458d53d (diff)
Make separation of days conspicuous
... by adding a horizontal line from border to border above the day heading and turning the event separator into an empty line. The horizontal line is left out for the first day loaded. Also reduce the number of empty lines at the end of a day to at most one. A new configuration variable, header_line, turns the horizontal line on and off. Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/day.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/day.c b/src/day.c
index b454c85..b556481 100644
--- a/src/day.c
+++ b/src/day.c
@@ -464,7 +464,7 @@ day_store_items(time_t date, int include_captions, int n)
/* Empty line at end of day if appointments have one. */
if (apts == 0 && conf.empty_appt_line)
day_add_item(EMPTY_SEPARATOR, 0, ENDOFDAY(date), p);
- day_add_item(DAY_SEPARATOR, 0, ENDOFDAY(date), p);
+ day_add_item(END_SEPARATOR, 0, ENDOFDAY(date), p);