Skip to contentSkip to conversation

client: Fix network name completion

PATCH Applied Tim Kourt 2 participants 2 messages Oct 25, 2019

lore
Share & tools
lore

Tim Kourt

author
#0 lore raw

PATCH 1/1 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(+)
client/network.c +3 -0
index 023a505c..b4ce3235 100644
@@ -228,6 +228,9 @@ static bool match_by_partial_name(const void *a, const void *b)
 		return false;
 	}
 
+	if (*text)
+		return false;
+
 	return true;
 }
 
Signature · 1 line
2.13.6
#1 lore raw

Hi Tim,

Quoted 5 lines · Tim Kourt

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(+)

Applied, thanks.

Regards,
-Denis