Subversion Repositories spk

Rev

Rev 191 | Rev 203 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 191 Rev 197
Line 216... Line 216...
216
 
216
 
217
			if ( p->icon() )
217
			if ( p->icon() )
218
			{
218
			{
219
				bool addedIcon = false;
219
				bool addedIcon = false;
220
				p->ReadIconFileToMemory();
220
				p->ReadIconFileToMemory();
221
				p->icon()->setFilename(m_pPackages->tempDirectory().findReplace("\\", "/") + "/" + p->author() + ";_" + p->name() + "." + p->iconExt());
221
				p->icon()->setFilename(m_pPackages->tempDirectory().findReplace(L"\\", L"/") + L"/" + p->author().toWString() + L";_" + p->name().toWString() + L"." + p->iconExt());
222
				p->icon()->setFullDir(m_pPackages->tempDirectory());
222
				p->icon()->setFullDir(m_pPackages->tempDirectory());
223
				if ( p->icon()->UncompressData() )
223
				if ( p->icon()->UncompressData() )
224
				{
224
				{
225
					if ( p->icon()->writeFilePointer() )
225
					if ( p->icon()->writeFilePointer() )
226
						addedIcon = true;
226
						addedIcon = true;