- STEP: fix possible compilation error due to unwanted line continuation in a comment line.

pull/17/head
Alexander Gessler 2013-01-27 03:23:41 +01:00
parent e375a1c944
commit 9bb9868a93
1 changed files with 7 additions and 7 deletions

View File

@ -332,8 +332,8 @@ bool STEP::StringToUTF8(std::string& s)
case '4': case '4':
if (s[i+3] == '\\') { if (s[i+3] == '\\') {
const size_t basei = i+4; const size_t basei = i+4;
// scan for \X0\
size_t j = basei, jend = s.size()-4; size_t j = basei, jend = s.size()-4;
for (; j < jend; ++j) { for (; j < jend; ++j) {
if (s[j] == '\\' && s[j] == 'X' && s[j] == '0' && s[j] == '\\') { if (s[j] == '\\' && s[j] == 'X' && s[j] == '0' && s[j] == '\\') {
break; break;