From 57da770f26d0548a5cfc5956a5033321e4ad0a7c Mon Sep 17 00:00:00 2001 From: Syn Wee Quek Date: Fri, 16 Mar 2001 02:35:31 +0000 Subject: [PATCH] ICU-807 Fix boundary error. X-SVN-Rev: 4128 --- icu4c/source/i18n/ucol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/i18n/ucol.cpp b/icu4c/source/i18n/ucol.cpp index bb84a5c11d7..3d2f288abc4 100644 --- a/icu4c/source/i18n/ucol.cpp +++ b/icu4c/source/i18n/ucol.cpp @@ -981,7 +981,7 @@ uint32_t getSpecialPrevCE(const UCollator *coll, uint32_t CE, } UChar *sourceCopy = source->string; UChar *targetCopy = source->writableBuffer; - while (sourceCopy <= strend) { + while (sourceCopy < strend) { if (UCOL_ISTHAIPREVOWEL(*sourceCopy) && /* This is the combination that needs to be swapped */ UCOL_ISTHAIBASECONSONANT(*(sourceCopy + 1))) {