Update CmdCalendar.cpp
Converted some tabs to spaces and added braces to a for loop.
This commit is contained in:
committed by
Tomas Babej
parent
374b97bb66
commit
45c67fef6e
@@ -559,6 +559,7 @@ std::string CmdCalendar::renderMonths (
|
||||
if (Context::getContext ().config.get ("calendar.holidays") != "none")
|
||||
{
|
||||
for (auto& hol : Context::getContext ().config)
|
||||
{
|
||||
if (hol.first.substr (0, 8) == "holiday.")
|
||||
{
|
||||
if (hol.first.substr (hol.first.size () - 4) == "date")
|
||||
@@ -582,6 +583,7 @@ std::string CmdCalendar::renderMonths (
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// colorize today
|
||||
if (today.sameDay (date))
|
||||
|
||||
Reference in New Issue
Block a user