mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Merge pull request #2235 from CouleeApps/fix-dump-console
Fix dumpConsoleClasses / dumpConsoleFunctions
This commit is contained in:
commit
7c74acfa1a
2 changed files with 3 additions and 3 deletions
|
|
@ -698,10 +698,10 @@ String CodeBlock::getFunctionArgs(U32 ip)
|
|||
{
|
||||
StringBuilder str;
|
||||
|
||||
U32 fnArgc = code[ip + 5];
|
||||
U32 fnArgc = code[ip + 8];
|
||||
for (U32 i = 0; i < fnArgc; ++i)
|
||||
{
|
||||
StringTableEntry var = CodeToSTE(code, ip + (i * 2) + 6);
|
||||
StringTableEntry var = CodeToSTE(code, ip + (i * 2) + 9);
|
||||
|
||||
if (i != 0)
|
||||
str.append(", ");
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ void printClassHeader(const char* usage, const char * className, const char * su
|
|||
if((usage != NULL) && strlen(usage))
|
||||
{
|
||||
// Copy Usage Document
|
||||
S32 usageLen = dStrlen( usage );
|
||||
S32 usageLen = dStrlen( usage ) + 1;
|
||||
FrameTemp<char> usageStr( usageLen );
|
||||
dStrcpy( usageStr, usage, usageLen );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue