Merge pull request #1696 from Azaezel/alpha41/strayStringCmp

emtpy char* check correction
This commit is contained in:
Brian Roberts 2026-03-19 12:46:27 -05:00 committed by GitHub
commit b8e5a89ed6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = "";