mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +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;
|
String mBitmapFile;
|
||||||
public:
|
public:
|
||||||
void _setBitmap(StringTableEntry _in) {
|
void _setBitmap(StringTableEntry _in) {
|
||||||
if (_in == NULL || _in == StringTable->EmptyString() || _in == "")
|
if (_in == NULL || _in == StringTable->EmptyString() || _in[0] == '\0')
|
||||||
{
|
{
|
||||||
mBitmapAsset = NULL;
|
mBitmapAsset = NULL;
|
||||||
mBitmapFile = "";
|
mBitmapFile = "";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue