1.1 --- a/src/rules/bishop.c Sat Mar 29 14:46:33 2014 +0100 1.2 +++ b/src/rules/bishop.c Sat Mar 29 16:53:58 2014 +0100 1.3 @@ -109,7 +109,7 @@ 1.4 move->fromfile = file; 1.5 } 1.6 file = move->tofile - d; 1.7 - if (isfile(file) && board[row][file] == move->piece) { 1.8 + if (isidx(file) && board[row][file] == move->piece) { 1.9 if (amb) { 1.10 return AMBIGUOUS_MOVE; 1.11 }