Merge pull request #943 from isLishude/patch-1

omit 2nd value from range
This commit is contained in:
astaxie
2018-02-04 18:09:47 +08:00
committed by GitHub

View File

@@ -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)
}
}