mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Kill another instance of using delete_file in a wrong place.
This commit is contained in:
parent
9bc8df86ad
commit
7a5c9a3834
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user