diff options
author | bustico | 2006-06-01 12:07:17 +0000 |
---|---|---|
committer | bustico | 2006-06-01 12:07:17 +0000 |
commit | 7ba87263b60bbbc2f8f45215bdb3bcfa3ae20594 (patch) | |
tree | f0b24c2547a558cf1ad8768c86ec2ea62430288a /src/ivybind.c | |
parent | 1dd0821257e53a37c3f71c56dde2c884c8a371e7 (diff) | |
download | ivy-c-7ba87263b60bbbc2f8f45215bdb3bcfa3ae20594.zip ivy-c-7ba87263b60bbbc2f8f45215bdb3bcfa3ae20594.tar.gz ivy-c-7ba87263b60bbbc2f8f45215bdb3bcfa3ae20594.tar.bz2 ivy-c-7ba87263b60bbbc2f8f45215bdb3bcfa3ae20594.tar.xz |
fix bug de filtrage
Diffstat (limited to 'src/ivybind.c')
-rw-r--r-- | src/ivybind.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ivybind.c b/src/ivybind.c index 7c5b406..0232a31 100644 --- a/src/ivybind.c +++ b/src/ivybind.c @@ -210,11 +210,14 @@ int IvyBindingFilter(const char *expression) /* extract token */ err = IvyBindingExec( token_extract, expression ); if ( err < 1 ) return 1; - IvyBindingMatch( token_extract, expression , 0, &tokenlen, &token ); + IvyBindingMatch( token_extract, expression , 1, &tokenlen, &token ); for ( i = 0 ; i < messages_classes_count; i++ ) { - if (strncmp( messages_classes[i], token, tokenlen ) == 0) - return 1; + if (strncmp( messages_classes[i], token, tokenlen ) == 0) { + return 1; } + // else { + //printf ("DBG> %s eliminé [%s]\n", token, expression); + //} } } return regexp_ok; |