kernel/eka/euser/unicode/Compare.cpp
branchRCL_3
changeset 257 3e88ff8f41d5
parent 256 c1f20ce4abcf
equal deleted inserted replaced
256:c1f20ce4abcf 257:3e88ff8f41d5
   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 (TChar::IsSurrogate(*csSection))
   816         if (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;