diff --git a/src/report.cpp b/src/report.cpp index 7b540b2d5..44752327a 100644 --- a/src/report.cpp +++ b/src/report.cpp @@ -934,7 +934,7 @@ std::string handleReportHistory (TDB& tdb, T& task, Config& conf) } table.addCell (row, 5, net); - if (conf.get ("color", true) || conf.get (std::string ("_forcecolor"), false) && net) + if ((conf.get ("color", true) || conf.get (std::string ("_forcecolor"), false)) && net) table.setCellFg (row, 5, net > 0 ? Text::red: Text::green); }