diff --git a/programs/cmm/eolite/include/copy.h b/programs/cmm/eolite/include/copy.h index ef27ccb1ed..387a01c634 100644 --- a/programs/cmm/eolite/include/copy.h +++ b/programs/cmm/eolite/include/copy.h @@ -12,24 +12,41 @@ void Copy(dword pcth, char cut) dword selected_offset2; byte copy_t[4096]; dword buff_data; + dword path_len = 0; + dword buffer_len = 0; + dword size_buf = 0; int ind = 0; if (selected_count) { - buff_data = malloc(selected_count*4096+10); - ESDWORD[buff_data] = selected_count*4096+10; - ESDWORD[buff_data+4] = 3; - ESINT[buff_data+8] = selected_count; for (i=0; i