Fix assorted typos

This commit is contained in:
XhmikosR
2019-07-31 15:36:36 +03:00
committed by Bjørn Erik Pedersen
parent 6512d128c6
commit f7f549e3a7
8 changed files with 9 additions and 9 deletions

View File

@@ -83,7 +83,7 @@ func (s *shortcodeTemplates) fromVariantsSlice(variants []string) (shortcodeVari
return bestMatch, true
}
// calculate a weight for two string slices of same lenght.
// calculate a weight for two string slices of same length.
// higher value means "better match".
func (s *shortcodeTemplates) compareVariants(a, b []string) int {