/[RomCheater]/trunk/RomCheater.Logging/LogWriter.cs
ViewVC logotype

Diff of /trunk/RomCheater.Logging/LogWriter.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater.Logging/LogWriter.cs	2012/06/05 15:40:48	317
+++ trunk/RomCheater.Logging/LogWriter.cs	2012/06/05 17:57:37	318
@@ -73,7 +73,7 @@
         }
 
         private void btnClearLog_Click(object sender, EventArgs e) { this.Clear(true); }
-        private void btnCopyLogToClipboard_Click(object sender, EventArgs e) { Clipboard.SetText(txtLog.Text); }
+        private void btnCopyLogToClipboard_Click(object sender, EventArgs e) { Clipboard.SetText(txtLog.Text.Replace(Log.NewLine,System.Environment.NewLine)); }
 
 
         public void WriteLogToFile(string value)
@@ -96,7 +96,7 @@
             }
             else
             {
-                txtLog.Text += value;
+                txtLog.AppendText(value);
                 if (AutoScroll)
                 {
                     txtLog.SelectionStart = txtLog.TextLength;

 

  ViewVC Help
Powered by ViewVC 1.1.22