From 75b7d18e0ca8d42775cc565f91e6b86e1eea7f7a Mon Sep 17 00:00:00 2001 From: Tim Kourt Date: Fri, 25 Oct 2019 10:26:07 -0700 Subject: [PATCH] client: Fix network name completion Exclude the network names that are shorter then the query text from the autocompletion network name list. --- client/network.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/network.c b/client/network.c index cc7ffbd9..fdeeef67 100644 --- a/client/network.c +++ b/client/network.c @@ -228,6 +228,9 @@ static bool match_by_partial_name(const void *a, const void *b) return false; } + if (*text) + return false; + return true; }