From 3efb3e42c9553baff9d6da2ba4e7b445b0242b27 Mon Sep 17 00:00:00 2001 From: Lars Henriksen Date: Sat, 26 Aug 2017 00:49:21 +0200 Subject: Remove extra star from recurrent appointments In the appointments panel, an appointment has a '-' to mark the time span, and the description on the following line is slightly indented. When the appointment is changed into a recurrent one, the '-' is changed to a '*', making it easily distinguishable but the description also gets a '*', thus breaking the pattern. Drop the extra '*'. Signed-off-by: Lars Henriksen Signed-off-by: Lukas Fleischer --- src/day.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/day.c b/src/day.c index 19b4f88..3e8adbf 100644 --- a/src/day.c +++ b/src/day.c @@ -433,8 +433,7 @@ day_display_item(struct day_item *day, WINDOW *win, int incolor, int width, char *mesg = day_item_get_mesg(day); - ch_recur = (day->type == RECUR_EVNT - || day->type == RECUR_APPT) ? '*' : ' '; + ch_recur = (day->type == RECUR_EVNT) ? '*' : ' '; ch_note = day_item_get_note(day) ? '>' : ' '; strncpy(buf, mesg, width * UTF8_MAXLEN); -- cgit v1.2.3-70-g09d2