Browse Source

convert "\r\n" -> Environment.NewLine

tags/3.0
kimw 9 years ago
parent
commit
17c75de9c0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      shadowsocks-csharp/View/LogForm.cs

+ 2
- 2
shadowsocks-csharp/View/LogForm.cs View File

@@ -80,7 +80,7 @@ namespace Shadowsocks.View
string line = "";
while ((line = reader.ReadLine()) != null)
LogMessageTextBox.AppendText(line + "\r\n");
LogMessageTextBox.AppendText(line + Environment.NewLine);
LogMessageTextBox.ScrollToCaret();
@@ -100,7 +100,7 @@ namespace Shadowsocks.View
while ((line = reader.ReadLine()) != null)
{
changed = true;
LogMessageTextBox.AppendText(line + "\r\n");
LogMessageTextBox.AppendText(line + Environment.NewLine);
}
if (changed)


Loading…
Cancel
Save