Describe Fonts dialog in texi file
[xboard.git] / moves.c
diff --git a/moves.c b/moves.c
index 08de082..abf1936 100644 (file)
--- a/moves.c
+++ b/moves.c
@@ -241,7 +241,6 @@ LoadPieceDesc (char *s)
     char *r, *p, *q = s;
     int ok = TRUE, promoted, c;
     while(q && *s) {
-printf("pstring = %s\n", s);
        p = s;
        q = strchr(s, ';');
        if(q) *q = 0, s = q+1;
@@ -2059,7 +2058,7 @@ DisambiguateCallback (Board board, int flags, ChessMove kind, int rf, int ff, in
        (cl->rtIn == -1 || cl->rtIn == rt || wildCard) &&
        (cl->ftIn == -1 || cl->ftIn == ft || wildCard)) {
 
-       if(cl->count && rf == cl->rf && ff == cl->ff) return; // duplicate move
+       if(cl->count && rf == cl->rf && ff == cl->ff && rt == cl->rt && ft == cl->ft) return; // duplicate move
 
        if(cl->count == 1 && kifu & 0x7E && cl->rfIn == -1 && cl->ffIn == -1) { // traditional Shogi disambiguation required
            int this = 1, other = 1;