diff --git a/src/ofbx.cpp b/src/ofbx.cpp index 75911ba..ed947c5 100644 --- a/src/ofbx.cpp +++ b/src/ofbx.cpp @@ -408,7 +408,7 @@ float DataView::toFloat() const bool DataView::operator==(const char* rhs) const { - if (!begin) return false; + if (!begin) return !rhs[0]; const char* c = rhs; const char* c2 = (const char*)begin; while (*c && c2 != (const char*)end)