From 7662937cabfde446cef08d7ef2fd4563681f739f Mon Sep 17 00:00:00 2001 From: usa Date: Sat, 22 Feb 2014 11:50:56 +0000 Subject: [PATCH] * tool/redmine-backporter.rb: should add the value after checking error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/redmine-backporter.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb index 3466d646e0..32ffec85ee 100755 --- a/tool/redmine-backporter.rb +++ b/tool/redmine-backporter.rb @@ -77,9 +77,9 @@ class String seq << "\e[#{c}m" end if back - c = COLORS[back] + 10 + c = COLORS[back] raise "unknown background color #{back}" unless c - seq << "\e[#{c}m" + seq << "\e[#{c + 10}m" end if seq.empty? self