X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=moves.c;h=4279ce96ad778c1882b6647c64374c6b3a5df381;hb=cf26b3e8a4d056c93860f4292d9cd5fc5cb00890;hp=aca97b5d43da7d3429d491c4bec444bfc9b41a50;hpb=14005df069bf869fc3185ebb19b3460aa041f1bc;p=xboard.git diff --git a/moves.c b/moves.c index aca97b5..4279ce9 100644 --- a/moves.c +++ b/moves.c @@ -268,7 +268,7 @@ MovesFromString (Board board, int flags, int f, int r, int tx, int ty, int angle int mine, his, dir, bit, occup, i; if(flags & F_WHITE_ON_MOVE) his = 2, mine = 1; else his = 1, mine = 2; while(*p) { // more moves to go - int expo = 1, dx, dy, x, y, mode, dirSet, ds2, retry=0, initial=0, jump=1, skip = 0, all = 0; + int expo = 1, dx, dy, x, y, mode, dirSet, ds2=0, retry=0, initial=0, jump=1, skip = 0, all = 0; char *cont = NULL; if(*p == 'i') initial = 1, desc = ++p; while(islower(*p)) p++; // skip prefixes