From 269e790e1672c41f22fb1bbb93682143a4882b6e Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Fri, 20 Feb 2015 17:36:51 +0000 Subject: [PATCH] Eolite 2.49: fixed critical bug - rename file to the same name in different letters case occurs file deletion. Thanks e-andrew for report and sorry for the deleted file :) git-svn-id: svn://kolibrios.org@5437 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/eolite/Eolite.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index f81fc0ed04..63ee3f129f 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -83,8 +83,8 @@ enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir -#define TITLE "Eolite File Manager v2.48" -#define ABOUT_TITLE "Eolite v2.48" +#define TITLE "Eolite File Manager v2.49" +#define ABOUT_TITLE "Eolite v2.49" dword col_padding, col_selec, col_lpanel; int toolbar_buttons_x[7]={9,46,85,134,167,203}; @@ -832,7 +832,7 @@ void ReName(byte rename) strcpy(#temp, #path); strcpy(#edit_name, #file_name); //save edit name to select it later strcat(#temp, #file_name); - if (strcmp(#file_path,#temp)!=0) && (file_name) + if (strcmpi(#file_path,#temp)!=0) && (file_name) if (itdir) { if (del_rezult = DeleteFile(#file_path))