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