X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard.c;h=64a7284937897a136137380d82e37b62c5ecd9a0;hb=6d9218e397e068f6249f19bbcce1ade720cfd791;hp=a27a3be00a362491ca04ac656024bd8974305a93;hpb=81cce2bf79a3fdb0d52f6cd5f40b1d1547443537;p=xboard.git diff --git a/xboard.c b/xboard.c index a27a3be..64a7284 100644 --- a/xboard.c +++ b/xboard.c @@ -6305,6 +6305,7 @@ void CopyPositionProc(w, event, prms, nprms) * have a notion of a position that is selected but not copied. * See http://www.freedesktop.org/wiki/Specifications/ClipboardsWiki */ + if(gameMode == EditPosition) EditPositionDone(TRUE); if (selected_fen_position) free(selected_fen_position); selected_fen_position = (char *)PositionToFEN(currentMove, NULL); if (!selected_fen_position) return;