diff options
author | sr55 <[email protected]> | 2016-03-21 12:57:48 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2016-03-21 12:57:48 +0000 |
commit | a3e695dd5c0d23692ed0e99624723e39305cdd8d (patch) | |
tree | f0e35b49e53372022af3a78245668a76193230b4 /win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs | |
parent | 9e9167bb63f14f176913cc42521d45639512c15a (diff) |
WinGui: Some fixes and tidyup of the new logging code.
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs b/win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs index 801a8c9cc..ed06d2cf6 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs @@ -170,19 +170,19 @@ namespace HandBrakeWPF.Services.Encode /// <summary> /// The write file. /// </summary> - /// <param name="fileName"> - /// The file name. - /// </param> /// <param name="content"> /// The content. /// </param> - private void WriteFile(string fileName, string content) + /// <param name="fileName"> + /// The file name. + /// </param> + private void WriteFile(string content, string fileName) { try { using (StreamWriter fileWriter = new StreamWriter(fileName) { AutoFlush = true }) { - fileWriter.WriteLineAsync(content); + fileWriter.Write(content); } } catch (Exception exc) |