Eolite 3.34: fix file rename

git-svn-id: svn://kolibrios.org@6038 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2016-01-07 12:22:05 +00:00
parent 6bb52d11ac
commit 909027f891
2 changed files with 4 additions and 3 deletions

View File

@ -1060,6 +1060,7 @@ void NewElement(byte newf)
{
if (itdir)
{
//rename only empty folders
if (del_rezult = DeleteFile(#file_path))
{
Write_Error(del_rezult);
@ -1077,7 +1078,7 @@ void NewElement(byte newf)
}
else
{
Del_File(true);
DeleteFile(#file_path);
SelectFileByName(new_file_ed.text);
}
}

View File

@ -1,5 +1,5 @@
#define TITLE "Eolite File Manager v3.33"
#define ABOUT_TITLE "Eolite 3.33"
#define TITLE "Eolite File Manager v3.34"
#define ABOUT_TITLE "Eolite 3.34"
#ifdef LANG_RUS
?define T_FILE "” ©«"