mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-22 05:40:55 +00:00
Merge pull request #1696 from Azaezel/alpha41/strayStringCmp
emtpy char* check correction
This commit is contained in:
commit
b8e5a89ed6
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