summaryrefslogtreecommitdiff
path: root/Bus/Ivy/IvyApplication.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:00:07 +0000
committerfcolin2007-02-01 13:00:07 +0000
commit14bb999781d8cf9ee60bbada88eb29d82be3e229 (patch)
tree93e33471cae98a9739c26ab38da7114a84c24de5 /Bus/Ivy/IvyApplication.cxx
parent4ceee5428cf53f1db0f3850ae05b57758e08de8f (diff)
downloadivy-cplusplus-14bb999781d8cf9ee60bbada88eb29d82be3e229.zip
ivy-cplusplus-14bb999781d8cf9ee60bbada88eb29d82be3e229.tar.gz
ivy-cplusplus-14bb999781d8cf9ee60bbada88eb29d82be3e229.tar.bz2
ivy-cplusplus-14bb999781d8cf9ee60bbada88eb29d82be3e229.tar.xz
Utilisateur : Fcolin Date : 8/03/05 Heure : 15:20 Archivé dans $/Bus/Ivy Commentaire: Bug en cas d'expression vide de subexpression (vss 20)
Diffstat (limited to 'Bus/Ivy/IvyApplication.cxx')
-rw-r--r--Bus/Ivy/IvyApplication.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bus/Ivy/IvyApplication.cxx b/Bus/Ivy/IvyApplication.cxx
index faafaf4..23abfbf 100644
--- a/Bus/Ivy/IvyApplication.cxx
+++ b/Bus/Ivy/IvyApplication.cxx
@@ -342,7 +342,7 @@ int IvyApplication::SendMsg(const char *message)
exp = regexp_in[i];
#ifdef USE_PCRE
int match_count = pcre_exec( exp, NULL, message, strlen( message ), 0, 0, ovector, max_subexp );
- if ( match_count > 1 )
+ if ( match_count > 0 )
{
string buffer;
const char *substring;