From 15e8d9841c4e3269faa135537ab14e77ae1a0a81 Mon Sep 17 00:00:00 2001 From: joeybloggs Date: Sun, 14 Aug 2016 22:41:26 -0400 Subject: sure up percent prefix logic, just need to turn prefixes into bytes... --- nus_SS/nus_SS.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'nus_SS') diff --git a/nus_SS/nus_SS.go b/nus_SS/nus_SS.go index edfade3f..815ca1cb 100644 --- a/nus_SS/nus_SS.go +++ b/nus_SS/nus_SS.go @@ -142,9 +142,7 @@ func (nus *nus_SS) FmtPercent(num float64, v uint64) []byte { b[i], b[j] = b[j], b[i] } - for j := len(nus.percent) - 1; j >= 0; j-- { - b = append(b, nus.percent[j]) - } + b = append(b, nus.percent...) return b } -- cgit v1.2.3