* edit/editcmd.c (edit_new_cmd): Remove redundant call to
`edit_unlock_file()'. (edit_ok_to_exit): Likewise.
Этот коммит содержится в:
родитель
e1f95084a8
Коммит
fcc6f9bbea
@ -1,3 +1,9 @@
|
|||||||
|
2006-03-15 Pavel Tsekov <ptsekov@gmx.net>
|
||||||
|
|
||||||
|
* editcmd.c (edit_new_cmd): Remove redundant call to
|
||||||
|
`edit_unlock_file()'.
|
||||||
|
(edit_ok_to_exit): Likewise.
|
||||||
|
|
||||||
2006-02-10 Roland Illig <roland.illig@gmx.de>
|
2006-02-10 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
* edit.c (user_menu): There is no need to prefix the filename
|
* edit.c (user_menu): There is no need to prefix the filename
|
||||||
|
@ -820,8 +820,6 @@ int edit_new_cmd (WEdit * edit)
|
|||||||
}
|
}
|
||||||
edit->force |= REDRAW_COMPLETELY;
|
edit->force |= REDRAW_COMPLETELY;
|
||||||
|
|
||||||
if (edit->locked)
|
|
||||||
edit->locked = edit_unlock_file (edit->filename);
|
|
||||||
return edit_renew (edit); /* if this gives an error, something has really screwed up */
|
return edit_renew (edit); /* if this gives an error, something has really screwed up */
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2142,8 +2140,6 @@ edit_ok_to_exit (WEdit *edit)
|
|||||||
return 0;
|
return 0;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
if (edit->locked)
|
|
||||||
edit->locked = edit_unlock_file (edit->filename);
|
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
case -1:
|
case -1:
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user