{
// (optimization) eols are the same, so just replace text inside line
// we must clean strText from its eol...
- CString strTextWithoutEol = strText;
- int newLength = strTextWithoutEol.GetLength()- _tcslen(getEol(strTextWithoutEol));
- strTextWithoutEol.ReleaseBuffer(newLength);
+ int eolLength = _tcslen(getEol(strText));
+ CString strTextWithoutEol = strText.Left(strText.GetLength() - eolLength);
ReplaceLine(pSource, nLine, strTextWithoutEol, nAction);
return;
}
+2005-04-26 Kimmo
+ PATCH: [ 1189875 ] Small cleanup for line replace code
+ Src: MergeDoc.cpp
+
2005-04-25 Kimmo
BUG: [ 1179790 ] ReadMe-Hungarian.rtf file is missing
docs/Users/Languages new file: Read Me-Hungarian.rtf