Merge pull request #1241 from chrox/fix_android_ssl

Fix koreader crash on android when using network
This commit is contained in:
HW
2014-11-25 10:13:59 +01:00
2 changed files with 3 additions and 3 deletions

2
base

Submodule base updated: ffdcfc5e5d...825299559d

View File

@@ -17,8 +17,6 @@ local function strcoll(str1, str2)
end
local FileChooser = Menu:extend{
height = Screen:getHeight(),
width = Screen:getWidth(),
no_title = true,
path = lfs.currentdir(),
parent = nil,
@@ -32,6 +30,8 @@ local FileChooser = Menu:extend{
}
function FileChooser:init()
self.width = Screen:getWidth()
self.height = Screen:getHeight()
-- common dir filter
self.dir_filter = function(dirname)
for _, pattern in ipairs(self.exclude_dirs) do