summaryrefslogtreecommitdiff
path: root/CSharp/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:54:32 +0000
committerfcolin2007-02-01 09:54:32 +0000
commitc9ece1c5bc692e54de794959b0f5c82e274370d2 (patch)
tree92fbffcc7b4e014d4d2acb6b5622bae5ac7ef04e /CSharp/Ivy
parent6d40bd06e95c0a745a378c20ba71069e563b37f3 (diff)
downloadivy-csharp-c9ece1c5bc692e54de794959b0f5c82e274370d2.zip
ivy-csharp-c9ece1c5bc692e54de794959b0f5c82e274370d2.tar.gz
ivy-csharp-c9ece1c5bc692e54de794959b0f5c82e274370d2.tar.bz2
ivy-csharp-c9ece1c5bc692e54de794959b0f5c82e274370d2.tar.xz
Utilisateur : Fcolin Date : 16/01/04 Heure : 18:28 Archivé dans $/EScribe/Ivy Commentaire: (vss 18)
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r--CSharp/Ivy/IvyPPC/Ivy.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/CSharp/Ivy/IvyPPC/Ivy.cs b/CSharp/Ivy/IvyPPC/Ivy.cs
index 7111157..069fd9e 100644
--- a/CSharp/Ivy/IvyPPC/Ivy.cs
+++ b/CSharp/Ivy/IvyPPC/Ivy.cs
@@ -594,9 +594,9 @@ namespace IvyBus
if (exp.StartsWith("^") && sent_messageClasses != null)
{
regexp_ok = false;
- for (int i = 0; i < sent_messageClasses.Length; i++)
+ foreach (string exp_class in sent_messageClasses)
{
- if (sent_messageClasses[i].Equals(exp.Substring(1)))
+ if ( exp.Substring(1).StartsWith(exp_class) )
return true;
}
}