fix crash when highlighting text in EPUB documents

Since the new Screen:getSize modthod returns a regular table
instead of a Geom which is set to the dimen field of readerview,
there is no copy method in the dimen field. And we don't need to
copy dimen any more since the result won't be modified. Even the
screen page area somehow needs to be modified, the caller of this
function should make a copy of that variable by itself.
pull/1240/head
chrox 10 years ago
parent 9ef2c91103
commit 548e830fdc

@ -223,7 +223,7 @@ function ReaderView:getScreenPageArea(page)
return area
end
else
return self.dimen:copy()
return self.dimen
end
end

Loading…
Cancel
Save