mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Fix missing va_end's
This commit is contained in:
parent
0ffd7f5620
commit
591253d5b5
7 changed files with 11 additions and 2 deletions
|
|
@ -1162,6 +1162,7 @@ const char *evaluatef(const char* string, ...)
|
|||
va_list args;
|
||||
va_start(args, string);
|
||||
dVsprintf(buffer, sizeof(buffer), string, args);
|
||||
va_end(args);
|
||||
CodeBlock *newCodeBlock = new CodeBlock();
|
||||
return newCodeBlock->compileExec(NULL, buffer, false, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue