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 'hsb/hsb.go')
-rw-r--r--hsb/hsb.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/hsb/hsb.go b/hsb/hsb.go
index 7bc9c42d..db462888 100644
--- a/hsb/hsb.go
+++ b/hsb/hsb.go
@@ -153,7 +153,9 @@ func (hsb *hsb) FmtPercent(num float64, v uint64) []byte {
b[i], b[j] = b[j], b[i]
}
- b = append(b, hsb.Percent[0])
+ b = append(b, " "...)
+
+ b = append(b, hsb.percent...)
return b
}