summaryrefslogtreecommitdiff
path: root/src/ivybind.c
diff options
context:
space:
mode:
authorfourdan2007-02-14 13:00:40 +0000
committerfourdan2007-02-14 13:00:40 +0000
commit018219f2fc25f76e83f4111455d7a6c678223482 (patch)
tree5cf2b45e4bda9206998ec943e476e86bf3cd9bfe /src/ivybind.c
parent30748deeab75a17254aba6696d137037ff2e2294 (diff)
downloadivy-c-018219f2fc25f76e83f4111455d7a6c678223482.zip
ivy-c-018219f2fc25f76e83f4111455d7a6c678223482.tar.gz
ivy-c-018219f2fc25f76e83f4111455d7a6c678223482.tar.bz2
ivy-c-018219f2fc25f76e83f4111455d7a6c678223482.tar.xz
Include patches from Michel Estienne <estienne@cena.fr> for older gcc
Diffstat (limited to 'src/ivybind.c')
-rw-r--r--src/ivybind.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ivybind.c b/src/ivybind.c
index c506ab3..5aaefe2 100644
--- a/src/ivybind.c
+++ b/src/ivybind.c
@@ -170,7 +170,7 @@ void IvyBindingMatch( IvyBinding bind, const char *message, int argnum, int *arg
if ( p->rm_so != -1 ) {
*arglen = p->rm_eo - p->rm_so;
*arg = message + p->rm_so;
- } else { // ARG VIDE
+ } else { /* ARG VIDE */
*arglen = 0;
*arg = NULL;
}
@@ -178,7 +178,7 @@ void IvyBindingMatch( IvyBinding bind, const char *message, int argnum, int *arg
}
-//filter Expression Bind
+/*filter Expression Bind */
int IvyBindingGetFilterCount()
{
return messages_classes_count;
@@ -219,9 +219,9 @@ int IvyBindingFilter(const char *expression)
{
if (strncmp( messages_classes[i], token, tokenlen ) == 0) {
return 1; }
- // else {
- //printf ("DBG> %s eliminé [%s]\n", token, expression);
- //}
+ /* else { */
+ /*printf ("DBG> %s eliminé [%s]\n", token, expression); */
+ /*} */
}
}
return regexp_ok;