A couple of fixes in GetGeometry

- Make ext variable local.
- Fix typo in borderWidth attribute.
This commit is contained in:
Santiago Gimeno 2013-03-12 12:06:31 +01:00
parent 69f76171de
commit 759da10e8f

View file

@ -787,13 +787,13 @@ module.exports = {
function(buff)
{
var res = buff.unpack('LSSSSSx');
ext = {};
var ext = {};
ext.windowid = res[0]
ext.xPos = res[1];
ext.yPos = res[2];
ext.width = res[3];
ext.height = res[4];
ext.borderWith = res[5];
ext.borderWidth = res[5];
return ext;
}
],