changeset 187:233be801aa81

srogue: replace unlink() with md_unlink(). md_unlink_open_file() might be needed eventually.
author John "Elwin" Edwards
date Mon, 03 Aug 2015 06:42:59 -0400
parents 85bd398cb96d
children 135ec7f15ffe
files srogue/save.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/srogue/save.c	Mon Aug 03 06:30:09 2015 -0400
+++ b/srogue/save.c	Mon Aug 03 06:42:59 2015 -0400
@@ -286,7 +286,7 @@
 #endif
 	if (!wizard)
 	{
-		if (unlink(file) < 0)
+		if (md_unlink(file) < 0)
 		{
 			endwin();
 			printf("Cannot unlink file\n");