mirror of
https://github.com/danbulant/node-x11
synced 2026-06-15 20:51:30 +00:00
CARD16 pack error
This commit is contained in:
parent
e62bc74750
commit
05075779d5
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ module.exports.addUnpack = function(Buffer)
|
|||
case 'S':
|
||||
var b1 = this[offset++];
|
||||
var b2 = this[offset++];
|
||||
this.data.push(b2*256+b1);
|
||||
data.push(b2*256+b1);
|
||||
break;
|
||||
case 'L':
|
||||
var b1 = this[offset++];
|
||||
|
|
@ -43,4 +43,4 @@ module.exports.addUnpack = function(Buffer)
|
|||
}
|
||||
return data;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue