Messages: Fix problem with message insertion sometimes missing leftover part

This commit is contained in:
Thijs Wiefferink 2016-06-04 20:57:14 +02:00
parent b1852b10bb
commit 2300227d87

View File

@ -168,7 +168,7 @@ public class FancyMessageFormat {
at += insert.size();
message.addAll(at, interactives);
at += interactives.size();
if(end < (lineContent.length()-1)) {
if(end < lineContent.length()) {
message.add(at, lineContent.substring(end));
at++;
message.addAll(at, interactives);