Subversion Repositories spk

Rev

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

Rev 180 Rev 181
Line 1702... Line 1702...
1702
		else if ( String::Compare(IO::FileInfo(file).Extension, ".cat") == 0 )
1702
		else if ( String::Compare(IO::FileInfo(file).Extension, ".cat") == 0 )
1703
		{
1703
		{
1704
			CCatFile cat;
1704
			CCatFile cat;
1705
			if ( cat.open(_S(file), "", CATREAD_CATDECRYPT, false) == CATERR_NONE )
1705
			if ( cat.open(_S(file), "", CATREAD_CATDECRYPT, false) == CATERR_NONE )
1706
			{
1706
			{
1707
				if ( cat.ExtractFile(_S("types\\" + type + ".pck"), CPackages::tempDirectory() + "tmp.dat") )
1707
				if ( cat.extractFile(_S("types\\" + type + ".pck"), CPackages::tempDirectory() + "tmp.dat") )
1708
					return _US(CPackages::tempDirectory() + "tmp.dat");
1708
					return _US(CPackages::tempDirectory() + "tmp.dat");
1709
			}
1709
			}
1710
		}
1710
		}
1711
 
1711
 
1712
		return "";
1712
		return "";