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
This commit is contained in:
Kirill Lipatov (Leency) 2015-07-23 12:23:52 +00:00
parent 9f3afe93b0
commit e963673962
2 changed files with 8 additions and 8 deletions

View File

@ -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};

View File

@ -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;