mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Use the more stable method of checking the string by using the strlen call.
This commit is contained in:
parent
2d648dae58
commit
42718099ed
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ void printClassHeader(const char* usage, const char * className, const char * su
|
||||||
Con::printf("/// information was available for this class.");
|
Con::printf("/// information was available for this class.");
|
||||||
}
|
}
|
||||||
|
|
||||||
if( usage != NULL && usage != "")
|
if((usage != NULL) && strlen(usage))
|
||||||
{
|
{
|
||||||
// Copy Usage Document
|
// Copy Usage Document
|
||||||
S32 usageLen = dStrlen( usage );
|
S32 usageLen = dStrlen( usage );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue