Fixed: Wrong size of nl

This commit is contained in:
kervala 2016-11-04 09:17:32 +01:00
parent 3812e84d95
commit c2bef23abc

View file

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