screenshot shorcut patch by NuPogodi@mobileread

This commit is contained in:
Qingping Hou
2012-04-30 17:03:45 +08:00
parent 381b34cc04
commit c818d7e90e
2 changed files with 12 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ function CREReader:open(filename)
end
-- detect file type for documents inside zip file
-- @TODO do the detection after the file is unzipped 30.04 2012 (houqp)
if file_type == "zip" then
-- store filename without zip-extention to fn
local fn = string.lower(string.sub(filename,0,-4))