mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Update str.cpp
Effectively copied dStrIsEmtpy() into String::isEmpty().
This commit is contained in:
parent
3ddd9b8a4c
commit
38413be513
1 changed files with 1 additions and 1 deletions
|
|
@ -659,7 +659,7 @@ bool String::isEmpty() const
|
||||||
|
|
||||||
bool String::isEmpty(const char* str)
|
bool String::isEmpty(const char* str)
|
||||||
{
|
{
|
||||||
return (dStrlen(str) == 0);
|
return src == 0 || src[0] == '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
bool String::isShared() const
|
bool String::isShared() const
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue