aboutsummaryrefslogtreecommitdiff
path: root/ui/messages/tstring/string.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/messages/tstring/string.go')
-rw-r--r--ui/messages/tstring/string.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/messages/tstring/string.go b/ui/messages/tstring/string.go
index 770b4fb..3de876f 100644
--- a/ui/messages/tstring/string.go
+++ b/ui/messages/tstring/string.go
@@ -108,7 +108,7 @@ func (str TString) TrimLeft(fn func(rune) bool) TString {
}
func (str TString) TrimRight(fn func(rune) bool) TString {
- for i := len(str)-1; i >= 0; i-- {
+ for i := len(str) - 1; i >= 0; i-- {
if !fn(str[i].Char) {
return append(NewBlankTString(), str[:i+1]...)
}