newWidthSync: prefer len(widths) to numBars
Vladimir Bauer
9 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
progress.go
less
more
362
362
}
363
363
}
364
364
result := max(widths)
365
for i := 0; i < numBars; i++ {
365
for i := 0; i < len(widths); i++ {
366
366
resultCh <- result
367
367
}
368
368
}(ws.listen[i], ws.result[i])