2
0
mirror of https://github.com/koreader/koreader synced 2024-11-11 19:11:14 +00:00

Kobo Aura Hd and Mini users get the error message:

/luajit: ./frontend/ui/gesturedetector.lua:84: attempt to concatenate field 'y' (a nil value)

Hopefully the use of the "," in the DEBUG function instead of the string concatenate operator gets rid of it.
This commit is contained in:
Markismus 2013-12-16 11:37:41 +01:00
parent 6465398731
commit 74e03bc615

View File

@ -81,7 +81,7 @@ function GestureDetector:feedEvent(tevs)
repeat
local tev = table.remove(tevs)
if tev then
DEBUG("tev fed to GestureDetector|",tev.x.."|"..tev.y.."|"..tev.id.."|"..tev.slot.."|"..tev.timev.sec.."|"..tev.timev.usec)
DEBUG("tev fed to GestureDetector|",tev.x,"|",tev.y,"|",tev.id,"|",tev.slot,"|",tev.timev.sec,"|",tev.timev.usec)
local slot = tev.slot
if not self.states[slot] then
self:clearState(slot) -- initiate state