/[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/05/09 08:16:18	18
+++ trunk/RomCheater.Logging/LogWriter.cs	2012/05/09 08:22:41	19
@@ -144,7 +144,8 @@
             FileStream fs = new FileStream(LOG_PATH, FileMode.Append, FileAccess.Write, FileShare.ReadWrite);
             StreamWriter writer = new StreamWriter(fs);
             writer.AutoFlush = true;
-            writer.Write(value);
+            if (value == Log.NewLine) { writer.Write(System.Environment.NewLine); }
+            else { writer.Write(value); }
             writer.Close();
             sw.Write(value);
         }

 

  ViewVC Help
Powered by ViewVC 1.1.22