Merge pull request #1053 from hwhw/fix_1052

Fix 1052
pull/1054/head
Huang Xin 10 years ago
commit f7cf20f86b

@ -1 +1 @@
Subproject commit cbb585960ab33f8a3d22e52c48bc79dee57b7cf7
Subproject commit 2d733e38de74b54dd6ace933a94cbc09b40fdd4d

@ -119,6 +119,9 @@ end
function PdfDocument:saveHighlight(pageno, item)
self.is_edited = true
local ffi = require("ffi")
-- will also need mupdf_h.lua to be evaluated once
-- but this is guaranteed at this point
local n = #item.pboxes
local quadpoints = ffi.new("fz_point[?]", 4*n)
for i=1, n do

Loading…
Cancel
Save