Skip to content

Commit c358bc2

Browse files
More formatting fixes
1 parent 9c00fee commit c358bc2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

table/render_init.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ func (t *Table) initForRenderRows() {
226226
if t.rowPainter != nil || t.indexedRowPainter != nil {
227227
t.rowsColors = make([]text.Colors, len(t.rowsRaw))
228228
}
229-
230229
t.rows = t.initForRenderRowsStringify(t.rowsRaw, renderHint{})
231230
t.rowsFooter = t.initForRenderRowsStringify(t.rowsFooterRaw, renderHint{isFooterRow: true})
232231
t.rowsHeader = t.initForRenderRowsStringify(t.rowsHeaderRaw, renderHint{isHeaderRow: true})
@@ -267,7 +266,6 @@ func (t *Table) initForRenderSortRows() {
267266

268267
// sort the rows
269268
sortedRowIndices := t.getSortedRowIndices()
270-
271269
sortedRows := make([]rowStr, len(t.rows))
272270
for idx := range t.rows {
273271
sortedRows[idx] = t.rows[sortedRowIndices[idx]]
@@ -279,7 +277,6 @@ func (t *Table) initForRenderSortRows() {
279277
sortedRowsColors := make([]text.Colors, len(t.rows))
280278
for idx := range t.rows {
281279
sortedRowsColors[idx] = t.rowsColors[sortedRowIndices[idx]]
282-
283280
if t.indexedRowPainter != nil {
284281
sortedRowsColors[idx] = t.indexedRowPainter(idx)
285282
}

0 commit comments

Comments
 (0)