summaryrefslogtreecommitdiff
path: root/util.go
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2016-07-30 17:16:07 -0400
committerKurt <kurt.w.jung@gmail.com>2016-07-30 17:16:07 -0400
commit700f7107d58a0e933260982522cfceb7648101ac (patch)
treeed4b4e499c7d3c529675cd70fd5d02b4dcb4d5e7 /util.go
parentbacfc4e66073d77419f5e8f561f7939a9fa0d668 (diff)
Fix some typos and other goreportcard violations
Diffstat (limited to 'util.go')
-rw-r--r--util.go2
1 files changed, 1 insertions, 1 deletions
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}