X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/beb54af10082dc588132b2c0d32e050028b72c78..78ed81a334dab56aa7a876792a473d67d4359c25:/games/rogue/score.c diff --git a/games/rogue/score.c b/games/rogue/score.c index 6b1a06fd43..f4fd5d4edb 100644 --- a/games/rogue/score.c +++ b/games/rogue/score.c @@ -206,7 +206,7 @@ short other; md_lock(1); - if ((fp = fopen(_PATH_SCOREFILE, "a+")) == NULL) { + if ((fp = fopen(_PATH_SCOREFILE, "r+")) == NULL) { message("cannot read/write/create score file", 0); sf_error(); }