From 909027f891391697800b4bd191486e26402cd9de Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Thu, 7 Jan 2016 12:22:05 +0000 Subject: [PATCH] Eolite 3.34: fix file rename git-svn-id: svn://kolibrios.org@6038 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/eolite/Eolite.c | 3 ++- programs/cmm/eolite/include/translations.h | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index d7d4b35837..54188d0a35 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -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); } } diff --git a/programs/cmm/eolite/include/translations.h b/programs/cmm/eolite/include/translations.h index 163fcb7ef6..98d4f7504d 100644 --- a/programs/cmm/eolite/include/translations.h +++ b/programs/cmm/eolite/include/translations.h @@ -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 "” ©«"