2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00

fix renderImage invocation

This commit is contained in:
chrox 2014-10-21 17:19:21 +08:00
parent ee6b5a7fe1
commit 2050c0aa66
2 changed files with 2 additions and 2 deletions

2
base

@ -1 +1 @@
Subproject commit 217e786836bcba654c53ecde6c1f2e9b7ac66840 Subproject commit 1c0cf8963b19068679b19ef52ebffd0ffafae627

View File

@ -148,7 +148,7 @@ function CreDocument:getCoverPageImage()
local data, size = self._document:getCoverPageImageData() local data, size = self._document:getCoverPageImageData()
if data and size then if data and size then
local Mupdf = require("ffi/mupdf") local Mupdf = require("ffi/mupdf")
local image = Mupdf:renderImage(data, size) local image = Mupdf.renderImage(data, size)
ffi.C.free(data) ffi.C.free(data)
return image return image
end end