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 <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Lars Henriksen 2017-08-26 00:49:21 +02:00 committed by Lukas Fleischer
parent e12875b420
commit 3efb3e42c9

View File

@ -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);