ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.Logging/LogWriter.cs
(Generate patch)

Comparing trunk/RomCheater.Logging/LogWriter.cs (file contents):
Revision 317 by william, Tue Jun 5 15:35:51 2012 UTC vs.
Revision 318 by william, Tue Jun 5 17:57:37 2012 UTC

--- 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 @@ namespace RomCheater.Logging
         }
 
         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 @@ namespace RomCheater.Logging
             }
             else
             {
-                txtLog.Text += value;
+                txtLog.AppendText(value);
                 if (AutoScroll)
                 {
                     txtLog.SelectionStart = txtLog.TextLength;