mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +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.");
|
||||
}
|
||||
|
||||
if( usage != NULL && usage != "")
|
||||
if((usage != NULL) && strlen(usage))
|
||||
{
|
||||
// Copy Usage Document
|
||||
S32 usageLen = dStrlen( usage );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue