kernel/eka/euser/unicode/Compare.cpp
changeset 90 947f0dc9f7a8
parent 0 a41df078684a
child 257 3e88ff8f41d5
child 269 d57b86b1867a
equal deleted inserted replaced
52:2d65c2f76d7b 90:947f0dc9f7a8
   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;