When in check, complain with the requested move.
authorYann Dirson <ydirson@free.fr>
Tue, 15 Oct 2013 22:28:44 +0000 (00:28 +0200)
committerYann Dirson <ydirson@free.fr>
Sat, 19 Oct 2013 13:45:21 +0000 (15:45 +0200)
Looks like in xshogi mode we were complaining by explicitly using the
algebraic notation, but apparently noone forces us to do so.

gnushogi/commondsp.c

index ea38293..157d852 100644 (file)
@@ -302,7 +302,7 @@ VerifyMove(char *s, VerifyMove_mode iop, unsigned short *mv)
             if (NOT_CURSES)
             {
                 /* Illegal move in check */
-                printf(CP[77], mvstr[0]);
+                printf(CP[77], s);
                 printf("\n");
             }
             else