diff options
Diffstat (limited to 'scripts/context/lua/luatools.lua')
-rw-r--r-- | scripts/context/lua/luatools.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/context/lua/luatools.lua b/scripts/context/lua/luatools.lua index d6af50fb6..099f254e5 100644 --- a/scripts/context/lua/luatools.lua +++ b/scripts/context/lua/luatools.lua @@ -1057,7 +1057,7 @@ else end function io.loaddata(filename) - local f = io.open(filename) + local f = io.open(filename,'rb') if f then local data = f:read('*all') f:close() |