From 40c4dfd312b24a7e012448e39a363c07fa1e8c5d Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 9 Oct 2016 13:44:06 +0300 Subject: Add writing to file --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 6378f1e..20a5f2d 100644 --- a/main.cpp +++ b/main.cpp @@ -32,7 +32,7 @@ int main(int argc, char** argv) { return 1; } - Editor editor(contents); + Editor editor(contents, filepath); editor.run_editor(); delete contents; -- cgit v1.3