mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
account for null dumpmatix captions
This commit is contained in:
parent
0d981b62cf
commit
a03586a5fe
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ EulerF MatrixF::toEuler() const
|
|||
|
||||
void MatrixF::dumpMatrix(const char *caption /* =NULL */) const
|
||||
{
|
||||
U32 size = dStrlen(caption);
|
||||
U32 size = (caption == NULL)? 0 : dStrlen(caption);
|
||||
FrameTemp<char> spacer(size+1);
|
||||
char *spacerRef = spacer;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue