From c0f314101d340141234c17c38f1524612e75080e Mon Sep 17 00:00:00 2001 From: Areloch Date: Wed, 31 May 2017 02:27:28 -0500 Subject: [PATCH] Use the more stable method of checking the string by using the strlen call. --- Engine/source/console/consoleDoc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/console/consoleDoc.cpp b/Engine/source/console/consoleDoc.cpp index a3f18a4bc..b63d7293a 100644 --- a/Engine/source/console/consoleDoc.cpp +++ b/Engine/source/console/consoleDoc.cpp @@ -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 );