mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-22 13:50:53 +00:00
emtpy char* check correction
This commit is contained in:
parent
58632d0d73
commit
64ceec1060
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ private:
|
|||
String mBitmapFile;
|
||||
public:
|
||||
void _setBitmap(StringTableEntry _in) {
|
||||
if (_in == NULL || _in == StringTable->EmptyString() || _in == "")
|
||||
if (_in == NULL || _in == StringTable->EmptyString() || _in[0] == '\0')
|
||||
{
|
||||
mBitmapAsset = NULL;
|
||||
mBitmapFile = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue