mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-19 14:43:47 +00:00
Update str.cpp
Fixed copy/paste error - now actually checks the parameter passed in....
This commit is contained in:
parent
38413be513
commit
6c9cff4c68
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue