From 2eebc67d99e5c4203fcbeba0bcb1187297e5ad2f Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 12:56:34 +0000 Subject: Utilisateur : Fcolin Date : 22/09/06 Heure : 18:11 Archivé dans $/Bus/Ivy Commentaire: ajout intervalRegexp (vss 29) --- Bus/Ivy/Ivy.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bus/Ivy/Ivy.cxx') diff --git a/Bus/Ivy/Ivy.cxx b/Bus/Ivy/Ivy.cxx index 0a09c91..4564c6f 100644 --- a/Bus/Ivy/Ivy.cxx +++ b/Bus/Ivy/Ivy.cxx @@ -396,10 +396,10 @@ bool Ivy::CheckConnected(IvyApplication * app) } void Ivy::SubstituteInterval (const char *src, char *dst, size_t dst_len) { -// #ifdef INTERVALREGEXP // pas de traitement couteux s'il n'y a rien à interpoler if (strstr (src, "(?I") == NULL) { + strcpy (dst,src); return; } else { char *curPos; @@ -432,6 +432,6 @@ void Ivy::SubstituteInterval (const char *src, char *dst, size_t dst_len) } strncat (dstPos, curPos, dst_len-(dstPos-dst)); } -// #endif + } -- cgit v1.1