From 27b5fdd4066d896f4ef2e033c43152dd484e6dad Mon Sep 17 00:00:00 2001 From: Serhii Sakhno Date: Mon, 1 Dec 2014 20:11:26 +0000 Subject: [PATCH] Eolite 2.4: fix copy one file; other small fix git-svn-id: svn://kolibrios.org@5209 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/eolite/Eolite.c | 4 +-- programs/cmm/eolite/include/copy.h | 54 +++++++++++++++++++----------- 2 files changed, 36 insertions(+), 22 deletions(-) diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index 517a62b89c..399f304add 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.39" -#define ABOUT_TITLE "Eolite v2.39" +#define TITLE "Eolite File Manager v2.4" +#define ABOUT_TITLE "Eolite v2.4" dword col_padding, col_selec, col_lpanel; int toolbar_buttons_x[7]={9,46,85,134,167,203}; diff --git a/programs/cmm/eolite/include/copy.h b/programs/cmm/eolite/include/copy.h index ae4fb3f671..cf37d66b42 100644 --- a/programs/cmm/eolite/include/copy.h +++ b/programs/cmm/eolite/include/copy.h @@ -20,23 +20,36 @@ void Copy(dword pcth, char cut) selected_offset2 = file_mas[i]*304 + buf+32 + 7; if (ESBYTE[selected_offset2]) cont++; } - buff_data = malloc(cont*4096+10); - ESDWORD[buff_data] = cont*4096+10; - ESDWORD[buff_data+4] = 3; - ESINT[buff_data+8] = cont; - for (i=0; i