Merge pull request #1053 from hwhw/fix_1052

Fix 1052
This commit is contained in:
Huang Xin
2014-10-27 06:35:40 +08:00
2 changed files with 4 additions and 1 deletions

2
base

Submodule base updated: cbb585960a...2d733e38de

View File

@@ -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