Merge pull request #1552 from assimp/issue_1251

closes https://github.com/assimp/assimp/issues/1251: use correct look…
pull/1511/head^2
Kim Kulling 2017-11-08 09:13:27 +01:00 committed by GitHub
commit c11a93e73c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ bool STEP::StringToUTF8(std::string& s)
size_t j = basei, jend = s.size()-3;
for (; j < jend; ++j) {
if (s[j] == '\\' && s[j] == 'X' && s[j] == '0' && s[j] == '\\') {
if (s[j] == '\\' && s[j+1] == 'X' && s[j+2] == '0' && s[j+3] == '\\') {
break;
}
}