Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/locales.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nmg/nmg.go')
-rw-r--r--nmg/nmg.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/nmg/nmg.go b/nmg/nmg.go
index 2acbd850..1ee58c1d 100644
--- a/nmg/nmg.go
+++ b/nmg/nmg.go
@@ -145,9 +145,7 @@ func (nmg *nmg) FmtPercent(num float64, v uint64) []byte {
b[i], b[j] = b[j], b[i]
}
- for j := len(nmg.percent) - 1; j >= 0; j-- {
- b = append(b, nmg.percent[j])
- }
+ b = append(b, nmg.percent...)
return b
}