tools: fix EOL handling in AddToChangelog.exe

AddToChangelog.exe was using a mix of \r\n and \n EOLs.
Fully uses \r\n now.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
This commit is contained in:
Mloc-Argent
2014-06-12 18:30:21 +01:00
parent 002cd976d6
commit 42110c3a3b
2 changed files with 2 additions and 2 deletions
Binary file not shown.
+2 -2
View File
@@ -190,7 +190,7 @@ namespace AddToChangelog
string[] changelogFile = null;
changelogFile = editBox.Text.Split('\n');
changelogFile = Regex.Split(editBox.Text, "\r\n");
if (changelogFile != null)
{
@@ -218,7 +218,7 @@ namespace AddToChangelog
}
else
{
editBox.Text = String.Join("\n", changelogFile);
editBox.Text = String.Join("\r\n", changelogFile);
ScrollToMarker();
}