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... --- cy_GB/cy_GB.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cy_GB') diff --git a/cy_GB/cy_GB.go b/cy_GB/cy_GB.go index af51cfc0..867bb22c 100644 --- a/cy_GB/cy_GB.go +++ b/cy_GB/cy_GB.go @@ -226,9 +226,7 @@ func (cy *cy_GB) FmtPercent(num float64, v uint64) []byte { b[i], b[j] = b[j], b[i] } - for j := len(cy.percent) - 1; j >= 0; j-- { - b = append(b, cy.percent[j]) - } + b = append(b, cy.percent...) return b } -- cgit v1.2.3