fixed menu info displaying, replaced debug() by DEBUG()

the replacement of debug() was necessary to be able to access the lua library "debug" (for backtraces etc.)
This commit is contained in:
HW committed 2012-05-28 18:59:16 +02:00
1 parent 8191cbe852
commit 60ccd7441e
15 files changed
+50 -54

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ function ReaderUI:init()
end
function ReaderUI:onClose()
debug("closing reader")
DEBUG("closing reader")
if self.document then
self.document:close()
self.document = false