diff options
Diffstat (limited to 'ha_GH/ha_GH.go')
-rw-r--r-- | ha_GH/ha_GH.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ha_GH/ha_GH.go b/ha_GH/ha_GH.go index ac90020f..373223ba 100644 --- a/ha_GH/ha_GH.go +++ b/ha_GH/ha_GH.go @@ -149,9 +149,7 @@ func (ha *ha_GH) 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 } |