diff options
Diffstat (limited to 'ha_NE/ha_NE.go')
-rw-r--r-- | ha_NE/ha_NE.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ha_NE/ha_NE.go b/ha_NE/ha_NE.go index 8b16b9c7..f0b62220 100644 --- a/ha_NE/ha_NE.go +++ b/ha_NE/ha_NE.go @@ -149,9 +149,7 @@ func (ha *ha_NE) FmtPercent(num float64, v uint64) []byte { b[i], b[j] = b[j], b[i] } - for j := len(ha.percent) - 1; j >= 0; j-- { - b = append(b, ha.percent[j]) - } + b = append(b, ha.percent...) return b } |