Fix for Go release.2010-02-12

This commit is contained in:
jim teeuwen 2010-12-03 15:22:39 +01:00
parent 8c492695c1
commit 28e474f91f
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ func EntityToUtf8(entity string) string {
}
var arr [4]byte
if size := utf8.EncodeRune(num, arr[0:]); size == 0 {
if size := utf8.EncodeRune(arr[0:], num); size == 0 {
return "&#" + entity + ";"
}