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