summaryrefslogtreecommitdiff
path: root/util.go
diff options
context:
space:
mode:
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}