mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-27 19:30:54 +00:00
Fixed: Wrong size of nl
--HG-- branch : develop
This commit is contained in:
parent
b7c008c014
commit
369a121aa1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue