X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=e686722413ddcb48bbfb09cfb12875d035e2d800;hb=412a8de0295bf9cef6b02a6809dfda966cacd9d4;hp=847b6092bd1cb911c70224a825aed714217148c0;hpb=77a5189fa223ed2a484e1715ad760a8396a7ad7e;p=xboard.git diff --git a/backend.c b/backend.c index 847b609..e686722 100644 --- a/backend.c +++ b/backend.c @@ -4991,6 +4991,9 @@ fprintf(debugFP,"parsePV: %d %c%c%c%c yy='%s'\nPV = '%s'\n", valid, fromX+AAA, f moveList[endPV-1][1] = fromY + ONE; moveList[endPV-1][2] = toX + AAA; moveList[endPV-1][3] = toY + ONE; + moveList[endPV-1][4] = promoChar; + moveList[endPV-1][5] = NULLCHAR; + strncat(moveList[endPV-1], "\n", MOVE_LEN); if(storeComments) CoordsToAlgebraic(boards[endPV - 1], PosFlags(endPV - 1), @@ -11641,7 +11644,7 @@ void EditTagsEvent() { char *tags = PGNTags(&gameInfo); - EditTagsPopUp(tags); + EditTagsPopUp(tags, NULL); free(tags); }