remove ignore of variable (unneeded when only index is needed)

This commit is contained in:
bartfokker 2018-10-25 22:25:36 +02:00
parent 3c83b7576b
commit 77f5e6b735
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ var ColorMap = map[string]ui.Attribute{
func InvertColorMap() {
re := regexp.MustCompile(".*.fg")
for k, _ := range ColorMap {
for k := range ColorMap {
if re.FindAllString(k, 1) != nil {
ColorMap[k] = ui.ColorBlack
}