summaryrefslogtreecommitdiff
path: root/src/ivybind.c
diff options
context:
space:
mode:
authorfcolin2006-05-11 16:42:00 +0000
committerfcolin2006-05-11 16:42:00 +0000
commit3d7f9a4339556f458005fbfb3da2072aff4e1d9c (patch)
tree96c12b3925de23b7476c6b339331ea212d678821 /src/ivybind.c
parent3969b742c5217ac5c18ca6cb0bcaabb02c92f2e3 (diff)
downloadivy-c-3d7f9a4339556f458005fbfb3da2072aff4e1d9c.zip
ivy-c-3d7f9a4339556f458005fbfb3da2072aff4e1d9c.tar.gz
ivy-c-3d7f9a4339556f458005fbfb3da2072aff4e1d9c.tar.bz2
ivy-c-3d7f9a4339556f458005fbfb3da2072aff4e1d9c.tar.xz
correction Bug introduit lors de la separation ivybind ( regexp sans argument )
Diffstat (limited to 'src/ivybind.c')
-rw-r--r--src/ivybind.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ivybind.c b/src/ivybind.c
index 20e174f..e7d126a 100644
--- a/src/ivybind.c
+++ b/src/ivybind.c
@@ -142,8 +142,6 @@ int IvyBindingExec( IvyBinding bind, const char * message )
OVECSIZE);
if (nb_match<1) return 0; /* no match */
bind->nb_match = nb_match;
- nb_match--; // firts arg wall string ???
-
#else /* we don't USE_PCRE_REGEX */
memset( bind->match, -1, sizeof(bind->match )); /* work around bug !!!*/
nb_match = regexec (&bind->regexp, message, MAX_MSG_FIELDS, bind->match, 0)