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
path: root/sv/sv.go
diff options
context:
space:
mode:
Diffstat (limited to 'sv/sv.go')
-rw-r--r--sv/sv.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/sv/sv.go b/sv/sv.go
index acb8bfd4..5191f952 100644
--- a/sv/sv.go
+++ b/sv/sv.go
@@ -168,9 +168,9 @@ func (sv *sv) FmtPercent(num float64, v uint64) []byte {
b[i], b[j] = b[j], b[i]
}
- for j := len(sv.percent) - 1; j >= 0; j-- {
- b = append(b, sv.percent[j])
- }
+ b = append(b, " "...)
+
+ b = append(b, sv.percent...)
return b
}