projects
/
mailshears.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc120c7
)
Fix off-by-one error in the header underline.
author
Michael Orlitzky
<michael@orlitzky.com>
Sun, 8 Nov 2015 22:29:43 +0000
(17:29 -0500)
committer
Michael Orlitzky
<michael@orlitzky.com>
Sun, 8 Nov 2015 22:29:43 +0000
(17:29 -0500)
lib/common/user_interface.rb
patch
|
blob
|
history
diff --git
a/lib/common/user_interface.rb
b/lib/common/user_interface.rb
index 00d3d7e52ddf649547503384301c304d613ad173..1bcf67ead3f7f37101e693092ed4d049924b7632 100644
(file)
--- a/
lib/common/user_interface.rb
+++ b/
lib/common/user_interface.rb
@@
-42,7
+42,9
@@
class UserInterface
end
header += ' (Plugin: ' + plugin_name + ")\n"
- header += '-' * header.size() # Underline the header.
+
+ # Underline the header, accounting for the newline.
+ header += '-' * (header.size() - 1)
return header
end