about summary refs log tree commit diff stats
path: root/file.lua
diff options
context:
space:
mode:
Diffstat (limited to 'file.lua')
-rw-r--r--file.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.lua b/file.lua
index 33c624c..d3ccca2 100644
--- a/file.lua
+++ b/file.lua
@@ -2,7 +2,7 @@
 Drawing = require 'drawing'
 
 function load_from_disk(filename)
-  local infile = io.open(filename)
+  local infile = App.open_for_reading(filename)
   local result = load_from_file(infile)
   if infile then infile:close() end
   return result