Fixed missing end of line chunk in movetext

This commit is contained in:
Kai S. K. Engelbart 2019-12-11 07:45:39 +01:00
parent ac1c857795
commit 00bf4a44ea
Signed by: kske
GPG Key ID: 8BEB13EC5DF7EF13
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ public class PGNGame {
if (line.length() + chunk.length() <= 80) line += chunk;
else {
pw.println(line);
line = "";
line = chunk;
}
if (!line.isEmpty()) pw.println(line);
}