Skip to content
Permalink
Browse files
Don't drop the space in front of the build status
Should fix https://issues.jenkins-ci.org/browse/JENKINS-22360

(I haven't tested the fix yet.)
  • Loading branch information
mgedmin committed Mar 27, 2014
1 parent 1861e97 commit d9672576e9775e9c1962e55512edf2b98530f9d4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/ircbot/v2/IRCColorizer.java
@@ -69,7 +69,7 @@ private static String colorForBuildResult(String line) {
default: return line;
}

return line.substring(0, index - 1) + color + keyword + Colors.NORMAL
return line.substring(0, index) + color + keyword + Colors.NORMAL
+ line.substring(index + keyword.length(), line.length());
}
}

0 comments on commit d967257

Please sign in to comment.