summaryrefslogtreecommitdiff
path: root/Bus/Ivy/Ivy.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 12:56:34 +0000
committerfcolin2007-02-01 12:56:34 +0000
commit2eebc67d99e5c4203fcbeba0bcb1187297e5ad2f (patch)
tree6a047f651308ca48ef71e8aa18d1f952993ea02f /Bus/Ivy/Ivy.cxx
parent34016e13302324442add93fa6082924d03bfbefc (diff)
downloadivy-cplusplus-2eebc67d99e5c4203fcbeba0bcb1187297e5ad2f.zip
ivy-cplusplus-2eebc67d99e5c4203fcbeba0bcb1187297e5ad2f.tar.gz
ivy-cplusplus-2eebc67d99e5c4203fcbeba0bcb1187297e5ad2f.tar.bz2
ivy-cplusplus-2eebc67d99e5c4203fcbeba0bcb1187297e5ad2f.tar.xz
Utilisateur : Fcolin Date : 22/09/06 Heure : 18:11 Archivé dans $/Bus/Ivy Commentaire: ajout intervalRegexp (vss 29)
Diffstat (limited to 'Bus/Ivy/Ivy.cxx')
-rw-r--r--Bus/Ivy/Ivy.cxx4
1 files changed, 2 insertions, 2 deletions
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
+
}