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 'dua_CM/dua_CM.go')
-rw-r--r--dua_CM/dua_CM.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/dua_CM/dua_CM.go b/dua_CM/dua_CM.go
index 87d16e3c..075f79c2 100644
--- a/dua_CM/dua_CM.go
+++ b/dua_CM/dua_CM.go
@@ -145,9 +145,9 @@ func (dua *dua_CM) FmtPercent(num float64, v uint64) []byte {
b[i], b[j] = b[j], b[i]
}
- for j := len(dua.percent) - 1; j >= 0; j-- {
- b = append(b, dua.percent[j])
- }
+ b = append(b, " "...)
+
+ b = append(b, dua.percent...)
return b
}