Fixed: Wrong size of nl

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent b7c008c014
commit 369a121aa1

@ -698,7 +698,7 @@ void cleanComment(const std::string & filename)
ucstring toAdd = text.substr(last, size); ucstring toAdd = text.substr(last, size);
newText += toAdd; newText += toAdd;
ucstring::size_type commentEnd = text.find(ucstring("*/"), commentBegin); ucstring::size_type commentEnd = text.find(ucstring("*/"), commentBegin);
if (commentEnd != ucstring::npos) { commentEnd += 4; } if (commentEnd != ucstring::npos) { commentEnd += 2 + nl.size(); }
last = commentEnd; last = commentEnd;
++nbOldValue; ++nbOldValue;
} }

Loading…
Cancel
Save