aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorJan Tuomi <jan-sebastian.tuomi@aalto.fi>2016-10-09 13:44:06 +0300
committerJan Tuomi <jan-sebastian.tuomi@aalto.fi>2016-10-09 14:50:24 +0300
commit40c4dfd312b24a7e012448e39a363c07fa1e8c5d (patch)
tree6f287e601a9f94e12d2efb0b5720db5adef650a9 /main.cpp
parent43fe02ecb4c1c99e4d942488e8982890d8c6a8d7 (diff)
Add writing to file
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
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;