Revert "Poor implementation of linewrap restored to task"
This reverts commit 64243e6ec1.
This commit is contained in:
committed by
Tomas Babej
parent
9f5a38df60
commit
0ae2f2a5fd
@@ -310,11 +310,10 @@ std::string ViewTask::render (std::vector <Task>& data, std::vector <int>& seque
|
|||||||
row_color.blend (rule_color);
|
row_color.blend (rule_color);
|
||||||
}
|
}
|
||||||
|
|
||||||
const int off = overage < 0 ? overage : 0;
|
|
||||||
for (unsigned int c = 0; c < _columns.size (); ++c)
|
for (unsigned int c = 0; c < _columns.size (); ++c)
|
||||||
{
|
{
|
||||||
cells.push_back (std::vector <std::string> ());
|
cells.push_back (std::vector <std::string> ());
|
||||||
_columns[c]->render (cells[c], data[sequence[s]], widths[c]+off, row_color);
|
_columns[c]->render (cells[c], data[sequence[s]], widths[c], row_color);
|
||||||
|
|
||||||
if (cells[c].size () > max_lines)
|
if (cells[c].size () > max_lines)
|
||||||
max_lines = cells[c].size ();
|
max_lines = cells[c].size ();
|
||||||
|
|||||||
Reference in New Issue
Block a user