aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/search.js b/tools/search.js
index c0b9f46..4e2e88f 100644
--- a/tools/search.js
+++ b/tools/search.js
@@ -53,7 +53,7 @@ function Search(searchBlock){ // searchBlock should be a Space object.
let curind = chkind + sgn;
while (sort[curind] && sort[chkind][ind] == sort[curind][ind]){
if (! exclude.has(sort[curind])){
- adjacent.add(...this.block(sort[curind], [curind, bs(sort, sort[curind], getComp(1-ind))], exclude));
+ adjacent.add(...this.block(sort[curind], [curind, bs(this.sort[1-ind], sort[curind], getComp(1-ind))], exclude));
}
curind += sgn;
}