Fix parsing for AMF-Files.

This commit is contained in:
Kim Kulling
2021-04-03 10:25:03 +02:00
parent 89a8f87dae
commit da0543972b
15 changed files with 136 additions and 184 deletions

View File

@@ -278,7 +278,7 @@ void STEP::ReadFile(DB& db,const EXPRESS::ConversionSchema& scheme,
--ne;
} while (IsSpace(s.at(ne)));
std::string type = s.substr(ns, ne - ns + 1);
type = ai_str_tolower(type);
type = ai_tolower(type);
const char* sz = scheme.GetStaticStringForToken(type);
if(sz) {
const std::string::size_type szLen = n2-n1+1;