Subversion Repositories spk

Rev

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

Rev 191 Rev 196
Line 609... Line 609...
609
					if ( this->imageList1->Images->IndexOfKey(file) == -1 )
609
					if ( this->imageList1->Images->IndexOfKey(file) == -1 )
610
					{
610
					{
611
						if (package->icon())
611
						if (package->icon())
612
						{
612
						{
613
							package->ReadIconFileToMemory();
613
							package->ReadIconFileToMemory();
614
							Utils::String sIconFile = _S(IO::Path::GetTempPath()) + "\\" + CFileIO(sFile).baseName() + "." + package->iconExt();
614
							Utils::WString sIconFile = _WS(IO::Path::GetTempPath()) + L"\\" + CFileIO(sFile).baseName() + L"." + package->iconExt().toWString();
615
							if ( package->extractFile(package->icon(), CFileIO(sIconFile).fullFilename(), false) )
615
							if ( package->extractFile(package->icon(), CFileIO(sIconFile).fullFilename().toString(), false))
616
							{
616
							{
617
								String ^iconFile = _US(sIconFile);
617
								String ^iconFile = _US(sIconFile);
618
								if ( IO::File::Exists(iconFile) )
618
								if ( IO::File::Exists(iconFile) )
619
								{
619
								{
620
									String ^ext = System::IO::FileInfo(iconFile).Extension;
620
									String ^ext = System::IO::FileInfo(iconFile).Extension;