aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui-calendar.c
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2017-08-11 22:52:05 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2017-08-28 07:30:38 +0200
commit0c63b4661f5006348f384519eb6a9eecfa3c3fb7 (patch)
treeb4d99899ffc5b638c6b7d523b73a13c161fc60d2 /src/ui-calendar.c
parent8d85a58a268644ecabaddb3cd12f8beb39d13962 (diff)
downloadcalcurse-0c63b4661f5006348f384519eb6a9eecfa3c3fb7.tar.gz
calcurse-0c63b4661f5006348f384519eb6a9eecfa3c3fb7.zip
Make the selected day in the calendar stand out
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/ui-calendar.c')
-rw-r--r--src/ui-calendar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui-calendar.c b/src/ui-calendar.c
index 41a0af2..0fae5a3 100644
--- a/src/ui-calendar.c
+++ b/src/ui-calendar.c
@@ -461,7 +461,7 @@ draw_monthly_view(struct scrollwin *sw, struct date *current_day,
&& current_day->dd != slctd_day.dd)
attr = ATTR_LOWEST;
else if (c_day == slctd_day.dd)
- attr = ATTR_HIGHEST;
+ attr = ATTR_MIDDLE;
else if (item_this_day == 1)
attr = ATTR_LOW;
else if (item_this_day == 2)
@@ -523,7 +523,7 @@ draw_weekly_view(struct scrollwin *sw, struct date *current_day,
&& current_day->dd != slctd_day.dd)
attr = ATTR_LOWEST;
else if (t.tm_mday == slctd_day.dd)
- attr = ATTR_HIGHEST;
+ attr = ATTR_MIDDLE;
else if (item_this_day == 1)
attr = ATTR_LOW;
else if (item_this_day == 2)