Fix erasing of premove highlights XB
[xboard.git] / moves.c
diff --git a/moves.c b/moves.c
index ca2625c..c8f8039 100644 (file)
--- a/moves.c
+++ b/moves.c
@@ -261,6 +261,7 @@ LoadPieceDesc (char *s)
            ASSIGN(pieceDesc[WHITE_TO_BLACK piece], p);
        }
        pieceDefs = TRUE;
+       if(q) *q = ';';
     }
     return ok;
 }