Skip to content

Commit 58e93e5

Browse files
committed
Fix #58
1 parent 5efe0fd commit 58e93e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PasteIntoFile/ClipboardContents.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ public override void SaveAs(string path, string extension, bool append = false)
274274
}
275275

276276
protected static void Save(string path, string text, bool append = false) {
277-
using (StreamWriter streamWriter = new StreamWriter(path, append))
278-
streamWriter.Write(EnsureNewline(text), Encoding);
277+
using (StreamWriter streamWriter = new StreamWriter(path, append, Encoding))
278+
streamWriter.Write(EnsureNewline(text));
279279
}
280280

281281
public static string EnsureNewline(string text) {

0 commit comments

Comments
 (0)