fixed goreportcard stuff

This commit is contained in:
probandula
2016-10-30 09:07:25 +01:00
parent 48278c8e77
commit 0408b23d9d
5 changed files with 14 additions and 16 deletions

View File

@@ -66,7 +66,7 @@ func (fm *fontManager) getFont(fontName string) *font {
func (fm *fontManager) loadFontList(fontPath string) error {
// Walk through the path
return filepath.Walk(fontPath, func(path string, info os.FileInfo, err error) error {
// Return an error if occured
// Return an error if occurred
if err != nil {
return err
}