summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bindings.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings.cc b/src/bindings.cc
index 97a0ea27..5ab5f66d 100644
--- a/src/bindings.cc
+++ b/src/bindings.cc
@@ -149,7 +149,7 @@ BindingTree *OBBindings::buildtree(const StringVect &keylist, int id) const
for (it = keylist.rbegin(); it != end; ++it) {
p = ret;
ret = new BindingTree(id);
- if (!p) ret->chain = false;
+ if (!p) ret->chain = false; // only the first built node
ret->first_child = p;
if (!translate(*it, ret->binding, true)) {
destroytree(ret);