Improve chess game editor

This commit is contained in:
Loic Guegan 2022-12-31 12:19:45 +01:00
parent 0c9ddd2f0a
commit b8b73bb9ed
6 changed files with 10 additions and 11 deletions

View file

@ -176,9 +176,9 @@ std::string PGNGameBase::GetMovesPGN(HalfMove *m, bool needDots) {
}
part += m->move;
if (m->GetNbLineComment() > 0) {
if (m->comment.size() > 0) {
part += " {";
part += m->GetComment();
part += m->comment;
part += "}";
newNeedDots = true;
}