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