From ebffe5503d1709f00d4d7d85f0db4f8fe1dc4f42 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 29 Sep 2017 08:32:09 +0200 Subject: 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 --- source/dialogs/ssh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/dialogs/ssh.c') 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] ); -- cgit v1.2.3