summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox/chessbox_pgn.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chessbox/chessbox_pgn.h')
-rw-r--r--apps/plugins/chessbox/chessbox_pgn.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.h b/apps/plugins/chessbox/chessbox_pgn.h
index 1159d0c7d1..3c4d5357a5 100644
--- a/apps/plugins/chessbox/chessbox_pgn.h
+++ b/apps/plugins/chessbox/chessbox_pgn.h
@@ -649,7 +649,7 @@
649/* structure to represent the plies */ 649/* structure to represent the plies */
650struct pgn_ply_node { 650struct pgn_ply_node {
651 unsigned short player; 651 unsigned short player;
652 char pgn_text[9]; 652 char pgn_text[11];
653 unsigned short row_from; 653 unsigned short row_from;
654 unsigned short column_from; 654 unsigned short column_from;
655 unsigned short row_to; 655 unsigned short row_to;
@@ -677,6 +677,9 @@ struct pgn_game_node {
677 struct pgn_game_node* next_node; 677 struct pgn_game_node* next_node;
678}; 678};
679 679
680/* File for saving games */
681extern const char* pgn_file;
682
680/* Return the list of games in a PGN file. 683/* Return the list of games in a PGN file.
681 * Parsing of the games themselves is postponed until 684 * Parsing of the games themselves is postponed until
682 * the user selects a game, that obviously saves processing 685 * the user selects a game, that obviously saves processing