mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 16:26:18 +00:00
Fixed: Wrong size of nl
This commit is contained in:
parent
3812e84d95
commit
c2bef23abc
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);
|
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…
Reference in a new issue