changeset 123:8dd4b06a9155

rogue4: fix restoring saved games on Windows/MinGW.
author John "Elwin" Edwards
date Fri, 09 May 2014 07:52:02 -0700
parents 65f3da34578a
children d10fc4a065ac
files README.txt rogue4/save.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/README.txt	Wed May 07 14:08:38 2014 -0700
+++ b/README.txt	Fri May 09 07:52:02 2014 -0700
@@ -34,8 +34,8 @@
 It is recommended to run 'configure' with the '--disable-logfile' option, and
 'make' with the 'LDFLAGS=-static' option.
 
-The games should all build with MinGW, but there are still bugs with arrow keys
-and saving/restoring.
+The games should all build with MinGW and run, but Super-Rogue has problems
+with restoring saved games.
 
 See the individual games' subdirectories for further documentation.  Some of 
 the manpages may be outdated, but the guides to playing should be accurate.
--- a/rogue4/save.c	Wed May 07 14:08:38 2014 -0700
+++ b/rogue4/save.c	Fri May 09 07:52:02 2014 -0700
@@ -276,7 +276,7 @@
 #ifdef WIZARD
 	!wizard &&
 #endif
-    md_unlink(file) < 0)
+    md_unlink_open_file(file, inf) < 0)
     {
         endwin();
 	printf("Cannot unlink file\n");