Subversion Repositories Kolibri OS

Rev

Rev 8934 | Rev 8944 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8934 Rev 8943
Line 64... Line 64...
64
	}
64
	}
65
 
65
 
Line 66... Line 66...
66
	if (!selected_count) return;
66
	if (!selected_count) return;
Line 67... Line 67...
67
	
67
	
68
	size_buf = 4;
68
	size_buf = 10;
69
	for (i=0; i
69
	for (i=0; i
70
	{
70
	{
71
		if (getElementSelectedFlag(i) == true) {
71
		if (getElementSelectedFlag(i) == true) {
72
			sprintf(#copy_t,"%s/%s",#path,items.get(i)*304+buf+72);
72
			sprintf(#copy_t,"%s/%s",#path,items.get(i)*304+buf+72);
73
			path_len = strlen(#copy_t);
73
			path_len = strlen(#copy_t);
74
			size_buf += path_len + 1;
74
			size_buf += path_len + 1;
75
		}
75
		}
76
	}
-
 
77
	size_buf += 20;
76
	}
78
	buff_data = malloc(size_buf);
77
	buff_data = malloc(size_buf);
79
	ESDWORD[buff_data] = size_buf;
78
	ESDWORD[buff_data] = size_buf;
80
	ESDWORD[buff_data+4] = SLOT_DATA_TYPE_RAW;
79
	ESDWORD[buff_data+4] = SLOT_DATA_TYPE_RAW;
81
	ESINT[buff_data+8] = selected_count;
80
	ESINT[buff_data+8] = selected_count;