summaryrefslogtreecommitdiff
path: root/Ivy/IvyApplication.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:00:07 +0000
committerfcolin2007-02-01 13:00:07 +0000
commit03f69b1c55a75ecf83a81ec4a342b924c95b68e5 (patch)
treee383e4bd0507b0c127537ebd0b4eb343be5ca0aa /Ivy/IvyApplication.cxx
parent3340cd8c77dc2335915a3bb9a766f9a089774e1d (diff)
downloadivy-cplusplus-03f69b1c55a75ecf83a81ec4a342b924c95b68e5.zip
ivy-cplusplus-03f69b1c55a75ecf83a81ec4a342b924c95b68e5.tar.gz
ivy-cplusplus-03f69b1c55a75ecf83a81ec4a342b924c95b68e5.tar.bz2
ivy-cplusplus-03f69b1c55a75ecf83a81ec4a342b924c95b68e5.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 'Ivy/IvyApplication.cxx')
-rw-r--r--Ivy/IvyApplication.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ivy/IvyApplication.cxx b/Ivy/IvyApplication.cxx
index faafaf4..23abfbf 100644
--- a/Ivy/IvyApplication.cxx
+++ b/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;