mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 20:40:35 +00:00
More cats and cpys in files that xcode doesn't see
This commit is contained in:
parent
dce7f5f6b3
commit
d9a723d533
21 changed files with 43 additions and 43 deletions
|
|
@ -185,7 +185,7 @@ public:
|
|||
/// the FrameAllocator. For example:
|
||||
/// @code
|
||||
/// FrameTemp<char> tempStr(32); // NOTE! This parameter is NOT THE SIZE IN BYTES. See constructor docs.
|
||||
/// dStrcat( tempStr, SomeOtherString );
|
||||
/// dStrcat( tempStr, SomeOtherString, 32 * sizeof(char) );
|
||||
/// tempStr[2] = 'l';
|
||||
/// Con::printf( tempStr );
|
||||
/// Con::printf( "Foo: %s", ~tempStr );
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ private:
|
|||
{
|
||||
// Find a unique filename
|
||||
U32 count = 1;
|
||||
dStrcpy(fileBuf, filename);
|
||||
dStrcpy(fileBuf, filename, bufSize);
|
||||
|
||||
while(zip->findFileInfo(fileBuf))
|
||||
{
|
||||
|
|
@ -109,7 +109,7 @@ private:
|
|||
}
|
||||
}
|
||||
else if(fileBuf && bufSize > 0)
|
||||
dStrcpy(fileBuf, filename);
|
||||
dStrcpy(fileBuf, filename, bufSize);
|
||||
|
||||
// Try and write to the file
|
||||
Stream * stream = zip->openFile(fileBuf ? fileBuf : filename, ZipArchive::Write);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue