From 313aa8a1cc5ecce38558d0f13c4abfeff3ede7f3 Mon Sep 17 00:00:00 2001 From: Andrey Sidorov Date: Wed, 13 Jun 2012 13:12:50 +1000 Subject: [PATCH] global variable pollution fix --- lib/x11/corereqs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/x11/corereqs.js b/lib/x11/corereqs.js index 79946ea..e2fcee4 100644 --- a/lib/x11/corereqs.js +++ b/lib/x11/corereqs.js @@ -164,7 +164,7 @@ module.exports = { // TODO: maybe it's better just to scan all 32 bits anstead of sorting parameters we are actually have? for (m in masksList) { - valueName = valueMaskName['CreateWindow'][masksList[m]]; + var valueName = valueMaskName['CreateWindow'][masksList[m]]; args.push( values[valueName] ); } return [format, args];