]> git.droids-corp.org - protos/libecoli.git/blobdiff - src/ecoli_editline.c
hide some completion structures
[protos/libecoli.git] / src / ecoli_editline.c
index ed8ea219cf48a1cd5fcd1d9cb953b71dae1f8753..2610bf554abbaa0acd46290fe4a648e496ae71e9 100644 (file)
@@ -393,7 +393,7 @@ static int get_node_help(const struct ec_comp_item *item,
 
        grp = ec_comp_item_get_grp(item);
 
 
        grp = ec_comp_item_get_grp(item);
 
-       for (state = grp->state; state != NULL;
+       for (state = ec_comp_group_get_state(grp); state != NULL;
             state = ec_parse_get_parent(state)) {
                node = ec_parse_get_node(state);
                if (node_help == NULL)
             state = ec_parse_get_parent(state)) {
                node = ec_parse_get_node(state);
                if (node_help == NULL)