diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-05-25 12:59:12 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-05-25 12:59:12 -0700 |
commit | fa103ca2e8674dd389888d77f9ef60f361a0c704 (patch) | |
tree | f9aa4eb7a7d4ff588150614489e672e80b41753a /file.lua | |
parent | 299960553037fcaf93b545e85f7601b24c5975d8 (diff) | |
download | lines.love-fa103ca2e8674dd389888d77f9ef60f361a0c704.tar.gz |
couple more tests
Along with the App helpers needed for them.
Diffstat (limited to 'file.lua')
-rw-r--r-- | file.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/file.lua b/file.lua index a60fe69..ced2a04 100644 --- a/file.lua +++ b/file.lua @@ -29,7 +29,7 @@ function load_from_file(infile) end function save_to_disk(lines, filename) - local outfile = io.open(filename, 'w') + local outfile = App.open_for_writing(filename) for _,line in ipairs(lines) do if line.mode == 'drawing' then store_drawing(outfile, line) |