From 700f7107d58a0e933260982522cfceb7648101ac Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 30 Jul 2016 17:16:07 -0400 Subject: Fix some typos and other goreportcard violations --- util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util.go') diff --git a/util.go b/util.go index 11cb016..149271c 100644 --- a/util.go +++ b/util.go @@ -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} -- cgit v1.2.1-24-ge1ad