use debug to print debug info

This commit is contained in:
Qingping Hou committed 2012-04-19 00:16:49 +08:00
1 parent 35e4ceaf57
commit 3306346dba
14 files changed
+47 -49

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ function PDFReader:getText(pageno)
return nil
end
local text = page:getPageText()
--print("## page:getPageText "..dump(text)) -- performance impact on device
--debug("## page:getPageText "..dump(text)) -- performance impact on device
page:close()
return text
end