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 18 by william, Wed May 9 08:16:18 2012 UTC vs.
Revision 19 by william, Wed May 9 08:22:41 2012 UTC

# Line 144 | Line 144 | namespace RomCheater.Logging
144              FileStream fs = new FileStream(LOG_PATH, FileMode.Append, FileAccess.Write, FileShare.ReadWrite);
145              StreamWriter writer = new StreamWriter(fs);
146              writer.AutoFlush = true;
147 <            writer.Write(value);
147 >            if (value == Log.NewLine) { writer.Write(System.Environment.NewLine); }
148 >            else { writer.Write(value); }
149              writer.Close();
150              sw.Write(value);
151          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines