summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;