closes https://github.com/assimp/assimp/issues/1251: use correct lookup for utf32.
parent
d5692ccf30
commit
f41ed2f41f
|
@ -334,7 +334,7 @@ bool STEP::StringToUTF8(std::string& s)
|
||||||
size_t j = basei, jend = s.size()-3;
|
size_t j = basei, jend = s.size()-3;
|
||||||
|
|
||||||
for (; j < jend; ++j) {
|
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue