mirror of
https://github.com/danbulant/node-x11
synced 2026-06-24 17:21:47 +00:00
keycodes list reading at incorrect offset
This commit is contained in:
parent
2e06a1a04b
commit
44b409bccd
1 changed files with 1 additions and 1 deletions
|
|
@ -440,7 +440,7 @@ module.exports = {
|
||||||
var format = '';
|
var format = '';
|
||||||
for (var i=0; i < listLength; ++i)
|
for (var i=0; i < listLength; ++i)
|
||||||
format += 'L';
|
format += 'L';
|
||||||
for (var offset=0; offset < buff.length - 4*listLength; offset += 4*listLength)
|
for (var offset=24; offset < buff.length - 4*listLength; offset += 4*listLength)
|
||||||
res.push(buff.unpack(format, offset));
|
res.push(buff.unpack(format, offset));
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue