Commit 1fd1583b authored by Michael Reeves's avatar Michael Reeves

Don't append new line char to line string

parent 34511c8f
......@@ -644,10 +644,12 @@ bool SourceData::FileData::preprocess(bool bPreserveCR, QTextCodec* pEncoding)
break;
}
//kdiff3 internally uses only unix style endings for simplicity.
line.append('\n');
//line.append('\n');
m_v[lineCount - 1].setLine(line);
}
m_v.push_back(LineData(lastOffset));
m_bIsText = true;
if(!vOrigDataLineEndStyle.isEmpty())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment