telephonyserverplugins/multimodetsy/hayes/SCHAT.CPP
branchRCL_3
changeset 20 07a122eea281
parent 19 630d2f34d719
--- a/telephonyserverplugins/multimodetsy/hayes/SCHAT.CPP	Tue Aug 31 16:23:08 2010 +0300
+++ b/telephonyserverplugins/multimodetsy/hayes/SCHAT.CPP	Wed Sep 01 12:40:21 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -147,6 +147,7 @@
 				{
 				LOGTEXT2(_L8("SChat:\tFound match against =>%S<"), &cs->iMatch);
 				iNotify->ChatStringMatchL(cs);
+				cs = iter;	// In case user removed cs;
 				}
 			}
 		}
@@ -159,6 +160,7 @@
 				{
 				LOGTEXT2(_L8("SChat:\tFound match against partial line =>%S<"), &cs->iMatch);
 				iNotify->ChatStringMatchL(cs);
+				cs = iter;	// In case user removed cs;
 				}
 			}
 		}