[Webkit-unassigned] [Bug 50245] Add word-prefix search options to the text search without ICU

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 26 11:24:23 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=50245





--- Comment #3 from Chang Shu <cshu at webkit.org>  2011-05-26 11:24:23 PST ---
> > Source/WebCore/editing/TextIterator.cpp:2236
> > +            memcpy(m_context.data(), m_context.data() + 1, (m_context.size() - 1) * sizeof(UChar));
> 
> memcpy to overlapped place may cause unexpected results?

I think memmove is a better way to do it.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list