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_CM/nmg_CM.go')
-rw-r--r--nmg_CM/nmg_CM.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/nmg_CM/nmg_CM.go b/nmg_CM/nmg_CM.go
index 12d98168..ea88b813 100644
--- a/nmg_CM/nmg_CM.go
+++ b/nmg_CM/nmg_CM.go
@@ -145,9 +145,7 @@ func (nmg *nmg_CM) 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
}