Update str.cpp

Fixed copy/paste error - now actually checks the parameter passed in....
This commit is contained in:
RichardRanft 2015-05-31 20:42:05 -07:00
parent 38413be513
commit 6c9cff4c68

View file

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