mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
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:
Binary file not shown.
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user