Trace Logger - make sure there isn't an extra line between instructions when copy/pasting

This commit is contained in:
adelikat 2014-05-06 17:53:21 +00:00
parent 8cf1d327e3
commit ff51a948f6
1 changed files with 3 additions and 1 deletions

View File

@ -259,7 +259,9 @@ namespace BizHawk.Client.EmuHawk
var blob = new StringBuilder();
foreach (int index in indices)
{
blob.AppendLine(_instructions[index]);
blob.AppendLine(_instructions[index]
.Replace("\r", string.Empty)
.Replace("\n", string.Empty) );
}
blob.Remove(blob.Length - 2, 2); // Lazy way to not have a line break at the end