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