client: Fix network name completion

Exclude the network names that are shorter then the query text
from the autocompletion network name list.
This commit is contained in:
Tim Kourt 2019-10-25 10:26:07 -07:00 committed by Denis Kenzior
parent 0d7fbfe523
commit 75b7d18e0c
1 changed files with 3 additions and 0 deletions

View File

@ -228,6 +228,9 @@ static bool match_by_partial_name(const void *a, const void *b)
return false;
}
if (*text)
return false;
return true;
}