2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

Bugfix: initialize show_overlap_enable flag

We must initialize show_overlap_enable to true in
DJVUReader:setDefaults() method, otherwise it will be uninitialized on
the first open of a DjVu file (i.e. with no history file).
This commit is contained in:
Tigran Aivazian 2012-10-18 09:50:05 +01:00
parent bda58e1364
commit e57730b128

View File

@ -3,6 +3,7 @@ require "unireader"
DJVUReader = UniReader:new{}
function DJVUReader:setDefaults()
self.show_overlap_enable = true
self.show_links_enable = false
end