From 282dba0dc700d2493f155fb89cb59467dbd51e90 Mon Sep 17 00:00:00 2001 From: Michael Ow Date: Fri, 8 Jan 2010 19:52:36 +0000 Subject: [PATCH] ICU-7309 Allow result length to differ from source length if options given. X-SVN-Rev: 27185 --- icu4c/source/common/ushape.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/icu4c/source/common/ushape.c b/icu4c/source/common/ushape.c index 9c85e36ebcd..f407e538262 100644 --- a/icu4c/source/common/ushape.c +++ b/icu4c/source/common/ushape.c @@ -1,7 +1,7 @@ /* ****************************************************************************** * - * Copyright (C) 2000-2009, International Business Machines + * Copyright (C) 2000-2010, International Business Machines * Corporation and others. All Rights Reserved. * ****************************************************************************** @@ -1167,7 +1167,6 @@ expandCompositChar(UChar *dest, int32_t sourceLength, } uprv_memcpy(dest, tempbuffer, destSize*U_SIZEOF_UCHAR); - destSize = sourceLength; } }