Backport dde6cbeb14
This commit is contained in:
2
Source/ThirdParty/OpenFBX/ofbx.cpp
vendored
2
Source/ThirdParty/OpenFBX/ofbx.cpp
vendored
@@ -365,7 +365,7 @@ float DataView::toFloat() const
|
|||||||
|
|
||||||
bool DataView::operator==(const char* rhs) const
|
bool DataView::operator==(const char* rhs) const
|
||||||
{
|
{
|
||||||
if (!begin) return false;
|
if (!begin) return !rhs[0];
|
||||||
const char* c = rhs;
|
const char* c = rhs;
|
||||||
const char* c2 = (const char*)begin;
|
const char* c2 = (const char*)begin;
|
||||||
while (*c && c2 != (const char*)end)
|
while (*c && c2 != (const char*)end)
|
||||||
|
|||||||
Reference in New Issue
Block a user