mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-07-14 23:57:39 +00:00
Improve chess game editor
This commit is contained in:
parent
0c9ddd2f0a
commit
b8b73bb9ed
6 changed files with 10 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue