diff options
author | Kurt <kurt.w.jung@gmail.com> | 2016-07-30 17:16:07 -0400 |
---|---|---|
committer | Kurt <kurt.w.jung@gmail.com> | 2016-07-30 17:16:07 -0400 |
commit | 700f7107d58a0e933260982522cfceb7648101ac (patch) | |
tree | ed4b4e499c7d3c529675cd70fd5d02b4dcb4d5e7 /util.go | |
parent | bacfc4e66073d77419f5e8f561f7939a9fa0d668 (diff) |
Fix some typos and other goreportcard violations
Diffstat (limited to 'util.go')
-rw-r--r-- | util.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -307,7 +307,7 @@ func (s *SizeType) ScaleToWidth(width float64) SizeType { return SizeType{width, height} } -// ScaleToHeight adjsuts the width of a size to match the given height +// ScaleToHeight adjusts the width of a size to match the given height func (s *SizeType) ScaleToHeight(height float64) SizeType { width := s.Wd * height / s.Ht return SizeType{width, height} |