summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ivy/Ivy.cxx4
1 files 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
+
}