diff --git a/Engine/source/core/util/str.cpp b/Engine/source/core/util/str.cpp index 013be3477..b9f2ff14a 100644 --- a/Engine/source/core/util/str.cpp +++ b/Engine/source/core/util/str.cpp @@ -659,7 +659,7 @@ bool String::isEmpty() const bool String::isEmpty(const char* str) { - return (dStrlen(str) == 0); + return src == 0 || src[0] == '\0'; } bool String::isShared() const