diff --git a/projects/linux/ee.creator.user b/projects/linux/ee.creator.user index 333ed2581..535d426f4 100644 --- a/projects/linux/ee.creator.user +++ b/projects/linux/ee.creator.user @@ -1,6 +1,6 @@ - + ProjectExplorer.Project.ActiveTarget diff --git a/src/eepp/system/cpak.cpp b/src/eepp/system/cpak.cpp index 1679471b7..bd809a429 100755 --- a/src/eepp/system/cpak.cpp +++ b/src/eepp/system/cpak.cpp @@ -270,11 +270,11 @@ bool cPak::AddFile( const std::string& path, const std::string& inpack ) { if ( path.size() > 56 ) return false; - std::vector file; + SafeDataPointer file; FileSystem::FileGet( path, file ); - return AddFile( file, inpack ); + return AddFile( file.Data, file.DataSize, inpack ); } bool cPak::AddFiles( std::map paths ) { diff --git a/src/eepp/system/czip.cpp b/src/eepp/system/czip.cpp index 9e46aa9b9..f696b4bd3 100644 --- a/src/eepp/system/czip.cpp +++ b/src/eepp/system/czip.cpp @@ -69,11 +69,11 @@ bool cZip::Close() { } bool cZip::AddFile( const std::string& path, const std::string& inpack ) { - std::vector file; + SafeDataPointer file; FileSystem::FileGet( path, file ); - return AddFile( file, inpack ); + return AddFile( file.Data, file.DataSize, inpack ); } bool cZip::AddFile( const Uint8 * data, const Uint32& dataSize, const std::string& inpack ) {