mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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:
@@ -174,12 +174,12 @@ end
|
||||
check if our size is smaller than the size of the given dimension/rectangle
|
||||
]]--
|
||||
function Geom:__lt(rect_b)
|
||||
debug("lt:",self,rect_b)
|
||||
DEBUG("lt:",self,rect_b)
|
||||
if self.w < rect_b.w and self.h < rect_b.h then
|
||||
debug("lt+")
|
||||
DEBUG("lt+")
|
||||
return true
|
||||
end
|
||||
debug("lt-")
|
||||
DEBUG("lt-")
|
||||
return false
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user