summaryrefslogtreecommitdiffstats
path: root/source/dialogs/ssh.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-09-29 08:32:09 +0200
committerDave Davenport <qball@gmpclient.org>2017-09-29 08:40:25 +0200
commitebffe5503d1709f00d4d7d85f0db4f8fe1dc4f42 (patch)
treec35dca4f2e9abeb271eeca3560b2ef83d3ff2831 /source/dialogs/ssh.c
parenta1ea3e268f92e9edcce6a794d98929effb036675 (diff)
Implement support for specifying negated match
- Prepending - inverts the matching result. - Fix logic window/drun browser. - Breaks API as argument token_match callback changed. - Update tests. Fixes: #665
Diffstat (limited to 'source/dialogs/ssh.c')
-rw-r--r--source/dialogs/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dialogs/ssh.c b/source/dialogs/ssh.c
index 5ce66289..cb8216cb 100644
--- a/source/dialogs/ssh.c
+++ b/source/dialogs/ssh.c
@@ -516,7 +516,7 @@ static char *_get_display_value ( const Mode *sw, unsigned int selected_line, G_
*
* @returns TRUE if matches
*/
-static int ssh_token_match ( const Mode *sw, GRegex **tokens, unsigned int index )
+static int ssh_token_match ( const Mode *sw, rofi_int_matcher **tokens, unsigned int index )
{
SSHModePrivateData *rmpd = (SSHModePrivateData *) mode_get_private_data ( sw );
return helper_token_match ( tokens, rmpd->hosts_list[index] );