From 6c9cff4c6842c5fa928fac32aa1c94eff059b607 Mon Sep 17 00:00:00 2001 From: RichardRanft Date: Sun, 31 May 2015 20:42:05 -0700 Subject: [PATCH] Update str.cpp Fixed copy/paste error - now actually checks the parameter passed in.... --- Engine/source/core/util/str.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/core/util/str.cpp b/Engine/source/core/util/str.cpp index b9f2ff14a..51a230e73 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 src == 0 || src[0] == '\0'; + return str == 0 || str[0] == '\0'; } bool String::isShared() const