print column size fix
This commit is contained in:
2
row.cpp
2
row.cpp
@@ -154,7 +154,7 @@ void Row::setColumnValue(ColDefNode *col_def, ValueNode *col_value) {
|
||||
for (int ci = 0; ci < m_columns.size(); ci++) {
|
||||
auto value = m_columns[ci]->getStringValue();
|
||||
|
||||
// TODO use string functions
|
||||
// TODO use string functions handle len
|
||||
out.append(value + std::string(col_char_sizes[ci] - value.size(), ' ') + " | ");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user