diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2017-08-26 00:49:21 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2017-08-28 07:30:38 +0200 |
commit | 3efb3e42c9553baff9d6da2ba4e7b445b0242b27 (patch) | |
tree | 658c3fa77aa81636aa0583c6e90744c1c987d6b3 | |
parent | e12875b4201a9acaf7f16f7675449d64479148ec (diff) | |
download | calcurse-3efb3e42c9553baff9d6da2ba4e7b445b0242b27.tar.gz calcurse-3efb3e42c9553baff9d6da2ba4e7b445b0242b27.zip |
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>
-rw-r--r-- | src/day.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |