Remove word wrapping in ColorCodeBuilder.build().

Dieser Commit ist enthalten in:
sk89q 2014-07-18 18:04:21 -07:00
Ursprung 0c7aa20cbe
Commit ca7bb1a3f5

Datei anzeigen

@ -39,7 +39,7 @@ public class ColorCodeBuilder {
public String[] build(StyledFragment message) { public String[] build(StyledFragment message) {
StringBuilder builder = new StringBuilder(); StringBuilder builder = new StringBuilder();
buildFragment(builder, message, message.getStyle(), new StyleSet()); buildFragment(builder, message, message.getStyle(), new StyleSet());
return wordWrap(builder.toString(), GUARANTEED_NO_WRAP_CHAT_PAGE_WIDTH); return builder.toString().split("\r?\n");
} }
/** /**