]> git.droids-corp.org - protos/libecoli.git/blobdiff - lib/main-readline.c
fix file node
[protos/libecoli.git] / lib / main-readline.c
index 304b074db4b454e3b1b06049ce84bf8c12d77068..a8a58409906257c458753f220989254ed7948f9c 100644 (file)
@@ -93,7 +93,7 @@ static char *my_completion_entry(const char *s, int state)
                return NULL;
 
        item_str = ec_completed_item_get_str(item);
-       if (c->count_match == 1) {
+       if (c->count_full == 1) {
 
                /* don't add the trailing space for partial completions */
                if (state == 0) {