From e96367396209e86b9c816abbc211fb48c4f659ab Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Thu, 23 Jul 2015 12:23:52 +0000 Subject: [PATCH] Eolite: fixed issue with copying folders by increasing stack size for paste thread git-svn-id: svn://kolibrios.org@5609 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/eolite/Eolite.c | 4 ++-- programs/cmm/eolite/include/copy.h | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index a1493cac27..8c46ad3efc 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -111,8 +111,8 @@ enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir enum { CREATE_FILE=1, CREATE_FOLDER, RENAME_ITEM }; //NewElement -#define TITLE "Eolite File Manager v2.81" -#define ABOUT_TITLE "Eolite v2.81" +#define TITLE "Eolite File Manager v2.83" +#define ABOUT_TITLE "Eolite v2.83" 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 921b21a630..ea5467cdb4 100644 --- a/programs/cmm/eolite/include/copy.h +++ b/programs/cmm/eolite/include/copy.h @@ -1,10 +1,4 @@ -void Paste() { - copy_stak = malloc(4096); - CreateThread(#PasteThread,copy_stak+4092); -} - - byte copy_to[4096]; byte copy_from[4096]; byte cut_active=0; @@ -52,6 +46,12 @@ void Copy(dword pcth, char cut) } +void Paste() { + copy_stak = malloc(20000); + CreateThread(#PasteThread,copy_stak+20000); +} + + void PasteThread() { char copy_rezult;