From 0bae5197999f5ed9e52bf3b94acb9e3f107a20e6 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) --- Ivy/Ivy.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ivy/Ivy.cxx b/Ivy/Ivy.cxx index 0a09c91..4564c6f 100644 --- a/Ivy/Ivy.cxx +++ b/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