Implemented game serialization to the PGN format #16
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user