From 00bf4a44ea1384f8997bb8a3350d91f4f4fb5d59 Mon Sep 17 00:00:00 2001 From: kske 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); }