mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Update str.cpp
Effectively copied dStrIsEmtpy() into String::isEmpty().
This commit is contained in:
parent
3ddd9b8a4c
commit
38413be513
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue