kernel/eka/euser/unicode/Compare.cpp
branchRCL_3
changeset 43 c1f20ce4abcf
parent 0 a41df078684a
child 44 3e88ff8f41d5
equal deleted inserted replaced
42:a179b74831c9 43:c1f20ce4abcf
   811 			return csSection - aCandidateStringStart;
   811 			return csSection - aCandidateStringStart;
   812 			}
   812 			}
   813         // Because this function is using TUTF32Iterator, which means the
   813         // Because this function is using TUTF32Iterator, which means the
   814         // original author want to support surrogate. Take it as a defect and
   814         // original author want to support surrogate. Take it as a defect and
   815         // fix it, while do not define a new LocateMatchStringFoldedSurrogate().
   815         // fix it, while do not define a new LocateMatchStringFoldedSurrogate().
   816         if (IsSurrogate(*csSection))
   816         if (TChar::IsSurrogate(*csSection))
   817         	++csSection;
   817         	++csSection;
   818 		}
   818 		}
   819 	// this should never happen!
   819 	// this should never happen!
   820 	ASSERT(0);
   820 	ASSERT(0);
   821 	return KErrNotFound;
   821 	return KErrNotFound;