Merge pull request #943 from isLishude/patch-1
omit 2nd value from range
This commit is contained in:
@@ -177,7 +177,7 @@ func (bl BoxList) BiggestColor() Color {
|
||||
}
|
||||
|
||||
func (bl BoxList) PaintItBlack() {
|
||||
for i, _ := range bl {
|
||||
for i := range bl {
|
||||
bl[i].SetColor(BLACK)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user