Skip to content

Commit

Permalink
No closing bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisn-au committed Feb 21, 2015
1 parent cb9495e commit 706e1e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/WeatherPane.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ func (p *WeatherPane) Render() (*image.RGBA, error) {
drawText(fmt.Sprintf("%dF", int(p.weather.List[0].Temp.Max*(9/5)-459.67)), color.RGBA{253, 151, 32, 255}, 1)
drawText(fmt.Sprintf("%dF", int(p.weather.List[0].Temp.Min*(9/5)-459.67)), color.RGBA{69, 175, 249, 255}, 8)
} else {
drawText(fmt.Sprintf("%dC", int(p.weather.List[0].Temp.Max-273.15), color.RGBA{253, 151, 32, 255}, 1)
drawText(fmt.Sprintf("%dC", int(p.weather.List[0].Temp.Min-273.15), color.RGBA{69, 175, 249, 255}, 8)
drawText(fmt.Sprintf("%dC", int(p.weather.List[0].Temp.Max-273.15)), color.RGBA{253, 151, 32, 255}, 1)
drawText(fmt.Sprintf("%dC", int(p.weather.List[0].Temp.Min-273.15)), color.RGBA{69, 175, 249, 255}, 8)
}

return img, nil
Expand Down

0 comments on commit 706e1e6

Please sign in to comment.