summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox/chessbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chessbox/chessbox.c')
-rw-r--r--apps/plugins/chessbox/chessbox.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c
index 4876231207..6e77b62718 100644
--- a/apps/plugins/chessbox/chessbox.c
+++ b/apps/plugins/chessbox/chessbox.c
@@ -321,7 +321,6 @@ void cb_saveposition ( void ) {
321/* ---- Restore saved position ---- */ 321/* ---- Restore saved position ---- */
322void cb_restoreposition ( void ) { 322void cb_restoreposition ( void ) {
323 int fd; 323 int fd;
324 int c;
325 short sq; 324 short sq;
326 unsigned short m; 325 unsigned short m;
327 326
@@ -357,7 +356,7 @@ void cb_restoreposition ( void ) {
357 else 356 else
358 --color[sq]; 357 --color[sq];
359 } 358 }
360 GameCnt = -1; c = '?'; 359 GameCnt = -1;
361 while (rb->read(fd, &(GameList[++GameCnt].gmove), 360 while (rb->read(fd, &(GameList[++GameCnt].gmove),
362 sizeof(GameList[GameCnt].gmove)) > 0) { 361 sizeof(GameList[GameCnt].gmove)) > 0) {
363 rb->read(fd, &(GameList[GameCnt].score), 362 rb->read(fd, &(GameList[GameCnt].score),