From: Dana Jansens Date: Mon, 30 Dec 2002 07:33:56 +0000 (+0000) Subject: use the member var _tree X-Git-Tag: openbox-2_3_0~673 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=1369b32df813bfad0a19ec77751c2d3594e944c6;p=dana%2Fopenbox.git use the member var _tree --- diff --git a/src/bindings.cc b/src/bindings.cc index f007624e..4517f29d 100644 --- a/src/bindings.cc +++ b/src/bindings.cc @@ -153,12 +153,12 @@ void OBBindings::assimilate(BindingTree *node) { BindingTree *a, *b, *tmp, *last; - if (!parent->first_child) { + if (!_tree.first_child) { // there are no nodes at this level yet - parent->first_child = node; + _tree.first_child = node; return; } else { - a = parent->first_child; + a = _tree.first_child; last = a; b = node; while (a->first_child) {