Use the more stable method of checking the string by using the strlen call.

This commit is contained in:
Areloch 2017-05-31 02:27:28 -05:00
parent 2d648dae58
commit 42718099ed

View file

@ -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 );