Unexpected errors hit while finding word boundaries, leading to crash.
authortrey <trey@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Aug 2004 23:17:26 +0000 (23:17 +0000)
committertrey <trey@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Aug 2004 23:17:26 +0000 (23:17 +0000)
commitd9a03819123711c19bbc4bd7bd22e106ec846e6e
tree4de0ef6c642943a5435e8daf281fb2c60417b592
parent5405551af3cf33601c6ba06cc66275b9db695c48
Unexpected errors hit while finding word boundaries, leading to crash.

        Reviewed by Ken.

        * kwq/KWQTextUtilities.cpp:
        (KWQFindWordBoundary):  Don't call UCFindTextBreak with edge cases it thinks
are param errors, and pass correct mask for forward case.  Also fix off-by-one
crashers in fallback code.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/kwq/KWQTextUtilities.cpp