diff options
Diffstat (limited to 'apps/plugins/chessbox/chessbox.c')
| -rw-r--r-- | apps/plugins/chessbox/chessbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c index 72a8b23..45f052d 100644 --- a/apps/plugins/chessbox/chessbox.c +++ b/apps/plugins/chessbox/chessbox.c @@ -275,7 +275,7 @@ void cb_saveposition ( void ) { rb->splash ( 0 , "Saving position" ); - fd = rb->open(SAVE_FILE, O_WRONLY|O_CREAT); + fd = rb->open(SAVE_FILE, O_WRONLY|O_CREAT, 0666); computer++; rb->write(fd, &(computer), sizeof(computer)); computer--; opponent++; rb->write(fd, &(opponent), sizeof(opponent)); opponent--; |