mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Fix passing of non-primitive types to varargs functions
This commit is contained in:
parent
7d809a0d28
commit
da4078c707
2 changed files with 4 additions and 4 deletions
|
|
@ -1409,9 +1409,9 @@ static bool recurseDumpDirectories(const char *basePath, const char *subPath, Ve
|
|||
if( ( subPath && ( dStrncmp( subPath, "", 1 ) != 0 ) ))
|
||||
{
|
||||
if( subTrail == '/' )
|
||||
dSprintf(search, search.size, "%s%s", subPath, fileName);
|
||||
dSprintf(search, search.size, "%s%s", subPath, fileName.ptr);
|
||||
else
|
||||
dSprintf(search, search.size, "%s/%s", subPath, fileName);
|
||||
dSprintf(search, search.size, "%s/%s", subPath, fileName.ptr);
|
||||
char* child = search;
|
||||
|
||||
if( currentDepth < recurseDepth || recurseDepth == -1 )
|
||||
|
|
@ -1425,7 +1425,7 @@ static bool recurseDumpDirectories(const char *basePath, const char *subPath, Ve
|
|||
child = fileName;
|
||||
else
|
||||
{
|
||||
dSprintf(search, search.size, "/%s", fileName);
|
||||
dSprintf(search, search.size, "/%s", fileName.ptr);
|
||||
child = search;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue