From 58c6e0cd151ae774cd3d01b7ea0649f7b8f395aa Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 3 Oct 2023 12:23:36 +0200 Subject: [PATCH] Backport https://github.com/nem0/OpenFBX/commit/dde6cbeb14cab424b9bbbeb6d75c4b84cc22f633 --- Source/ThirdParty/OpenFBX/ofbx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ThirdParty/OpenFBX/ofbx.cpp b/Source/ThirdParty/OpenFBX/ofbx.cpp index f3896b5a6..6b6e3d71b 100644 --- a/Source/ThirdParty/OpenFBX/ofbx.cpp +++ b/Source/ThirdParty/OpenFBX/ofbx.cpp @@ -365,7 +365,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)