mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-07 21:07:20 +02:00
Revert "[clang-tidy] Simplify boolean expressions"
This reverts commit 51870dff34
.
This commit is contained in:
parent
623d5ceb59
commit
364b4ea8bd
8 changed files with 51 additions and 25 deletions
|
@ -302,7 +302,7 @@ std::string ViewTask::render (std::vector <Task>& data, std::vector <int>& seque
|
|||
autoColorize (data[sequence[s]], rule_color);
|
||||
|
||||
// Alternate rows based on |s % 2|
|
||||
bool odd = (s % 2) != 0;
|
||||
bool odd = (s % 2) ? true : false;
|
||||
Color row_color;
|
||||
if (Context::getContext ().color ())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue