From cceceffa90c89453567bb707b5f7b05e98582b3c Mon Sep 17 00:00:00 2001 From: sidorares Date: Mon, 18 Jul 2011 18:28:13 +1000 Subject: [PATCH] missed format arg vor values mask in CreateGC --- lib/x11/corereqs.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/x11/corereqs.js b/lib/x11/corereqs.js index c3fad68..dc13214 100644 --- a/lib/x11/corereqs.js +++ b/lib/x11/corereqs.js @@ -167,7 +167,7 @@ module.exports = { // opcode 55 CreateGC: [ function(cid, drawable, values) { - var format = 'CxSLL'; + var format = 'CxSLLL'; var packetLength = 4 + (values ? Object.keys(values).length : 0); var args = [55, packetLength, cid, drawable]; var vals = packValueMask('CreateGC', values); @@ -214,7 +214,6 @@ module.exports = { format += 'S'; args.push(coords[i]); } - console.error([format, args]); return [format, args]; } ]