mod: prefix global variables width and height with G_

This commit is contained in:
Qingping Hou
2012-04-09 15:42:19 +08:00
parent f0042714d9
commit ecd56a3745
9 changed files with 42 additions and 34 deletions

View File

@@ -13,7 +13,7 @@ function PDFReader:open(filename)
return false, self.doc -- will contain error message
end
if self.doc:needsPassword() then
local password = InputBox:input(height-100, 100, "Pass:")
local password = InputBox:input(G_height-100, 100, "Pass:")
if not password or not self.doc:authenticatePassword(password) then
self.doc:close()
self.doc = nil