1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 11:04:25 +01:00

Fix macro interpolation of null counts in key bindings.

This commit is contained in:
Kris Maglione
2010-12-26 14:41:10 -05:00
parent 289b766266
commit cd55bfbcb1
2 changed files with 5 additions and 5 deletions

View File

@@ -328,7 +328,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
stack.top.elements.push(quote(defaults[name]));
else {
stack.top.elements.push(update(
function (obj) obj[name] != null ? quote(obj[name]) : unknown(full),
function (obj) obj[name] != null ? quote(obj[name]) : set.has(obj, name) ? "" : unknown(full),
{ test: function (obj) obj[name] != null && obj[name] !== false }));
for (let elem in array.iterValues(stack))