mod: save jump_stack after exit

This commit is contained in:
Qingping Hou
2012-03-05 10:48:03 +08:00
parent 51dd8472b9
commit ab2cd3ec8c
2 changed files with 6 additions and 1 deletions

View File

@@ -35,7 +35,6 @@ longopts = {
function openFile(filename)
local file_type = string.lower(string.match(filename, ".+%.(.+)"))
if file_type == "djvu" then
print "haha"
if DJVUReader:open(filename) then
page_num = DJVUReader.settings:readsetting("last_page") or 1
DJVUReader:goto(tonumber(page_num))