diff options
author | Tommy Nguyen <remyabel@gmail.com> | 2018-08-19 08:52:08 -0400 |
---|---|---|
committer | Tommy Nguyen <remyabel@gmail.com> | 2018-08-19 08:52:08 -0400 |
commit | e8b12a086c94f29b8fdcd1b2197b332834e13ca6 (patch) | |
tree | 2abaa5c16b72c79fac21cc71a68e3a5dcc0fdfe9 /pkg | |
parent | 766197de9dd19fe743b21efe751c52db3e99aa3e (diff) |
Fix ineffectual assignment
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/gui/view_helpers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/view_helpers.go b/pkg/gui/view_helpers.go index d6d10c780..dc669146b 100644 --- a/pkg/gui/view_helpers.go +++ b/pkg/gui/view_helpers.go @@ -220,7 +220,7 @@ func (gui *Gui) renderString(g *gocui.Gui, viewName, s string) error { } v.Clear() output := string(bom.Clean([]byte(s))) - output = utils.NormalizeLinefeeds(s) + output = utils.NormalizeLinefeeds(output) fmt.Fprint(v, output) v.Wrap = true return nil |