summaryrefslogtreecommitdiff
path: root/tool/redmine-backporter.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-22 11:46:22 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-22 11:46:22 +0000
commit358d800232295f53fb287e51f666695e199021ad (patch)
tree5cc11f3092e8b16082c4d6055d5176eca5530b0b /tool/redmine-backporter.rb
parent82336d1f25460ced3d2a45d6d570a17bf878eeb9 (diff)
* tool/redmine-backporter.rb: fixed bug of background color.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/redmine-backporter.rb')
-rwxr-xr-xtool/redmine-backporter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb
index 826548f..3466d64 100755
--- a/tool/redmine-backporter.rb
+++ b/tool/redmine-backporter.rb
@@ -77,7 +77,7 @@ class String
seq << "\e[#{c}m"
end
if back
- c = COLORS[back]
+ c = COLORS[back] + 10
raise "unknown background color #{back}" unless c
seq << "\e[#{c}m"
end