Subversion Repositories spk

Rev

Rev 219 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 219 Rev 238
Line 207... Line 207...
207
	// make sure we remove all packages that have been marked
207
	// make sure we remove all packages that have been marked
208
	this->RemovePackages();
208
	this->RemovePackages();
209
 
209
 
210
	Utils::WString data = _createData();
210
	Utils::WString data = _createData();
211
 
211
 
212
	int comprLen = (int)((data.length() + sizeof(wchar_t)) / sizeof(char)), uncomprLen = comprLen;;
212
	int comprLen = (int)((data.length() * sizeof(wchar_t)) / sizeof(char)), uncomprLen = comprLen;;
213
	unsigned char *compr = NULL;
213
	unsigned char *compr = NULL;
214
 
214
 
215
	bool compressed = false;
215
	bool compressed = false;
216
	int valueheader = m_SHeader.iCompression;
216
	int valueheader = m_SHeader.iCompression;
217
	if ( valueheader == SPKCOMPRESS_7ZIP )
217
	if ( valueheader == SPKCOMPRESS_7ZIP )