Kill another instance of using delete_file in a wrong place.

This commit is contained in:
Pavel Roskin 2003-07-20 23:34:29 +00:00
parent 9bc8df86ad
commit 7a5c9a3834

View File

@ -2063,8 +2063,6 @@ void edit_quit_cmd (WEdit * edit)
case 2:
if (edit->locked)
edit->locked = edit_unlock_file (edit->filename);
if (edit->delete_file)
unlink (edit->filename);
break;
case 0:
case -1: