Introduction
Introduction Statistics Contact Development Disclaimer Help
fix incorrect (x,y) parameters for taking a piece - chess-puzzles - chess puzzl…
git clone git://git.codemadness.org/chess-puzzles
Log
Files
Refs
README
LICENSE
---
commit a0e61726e8e522f6731e6eb27e18856f4fde61fb
parent 4ccd78674dc439a488331c561af552b0b129d621
Author: Hiltjo Posthuma <[email protected]>
Date: Wed, 20 Dec 2023 20:19:38 +0100
fix incorrect (x,y) parameters for taking a piece
Diffstat:
M fen_to_svg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/fen_to_svg.c b/fen_to_svg.c
@@ -533,7 +533,7 @@ main(int argc, char *argv[])
square[0] = *s;
square[1] = *(s + 1);
squaretoxy(square, &x2, &y2);
- takepiece = getpiece(x, y);
+ takepiece = getpiece(x2, y2);
place(piece, x2, y2);
s += 2;
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.