diff -r c1f20ce4abcf -r 3e88ff8f41d5 kernel/eka/euser/unicode/Compare.cpp --- a/kernel/eka/euser/unicode/Compare.cpp Tue Aug 31 16:34:26 2010 +0300 +++ b/kernel/eka/euser/unicode/Compare.cpp Wed Sep 01 12:34:56 2010 +0100 @@ -813,7 +813,7 @@ // Because this function is using TUTF32Iterator, which means the // original author want to support surrogate. Take it as a defect and // fix it, while do not define a new LocateMatchStringFoldedSurrogate(). - if (TChar::IsSurrogate(*csSection)) + if (IsSurrogate(*csSection)) ++csSection; } // this should never happen!