mod: prefix global variables width and height with G_

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

No files matched your search

+1 -1
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