From 3e5d584e6f14cfc0fb82913c79844c3847faf250 Mon Sep 17 00:00:00 2001 From: CyB3RC0nN0R Date: Wed, 11 Dec 2019 07:45:39 +0100 Subject: [PATCH] Fixed missing end of line chunk in movetext --- src/dev/kske/chess/pgn/PGNGame.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dev/kske/chess/pgn/PGNGame.java b/src/dev/kske/chess/pgn/PGNGame.java index 2d91930..609a8f9 100644 --- a/src/dev/kske/chess/pgn/PGNGame.java +++ b/src/dev/kske/chess/pgn/PGNGame.java @@ -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); }