Skip to content

Commit

Permalink
Don't drop the space in front of the build status
Browse files Browse the repository at this point in the history
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 d967257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/ircbot/v2/IRCColorizer.java
Expand Up @@ -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());
}
}
Expand Down

0 comments on commit d967257

Please sign in to comment.