From 259687261543b4c710fef26aa622e0620b2cb150 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Tue, 21 Dec 2004 23:07:40 +0000 Subject: [PATCH] ICU-4092 Fix a typo that I checked in. X-SVN-Rev: 16988 --- icu4c/source/test/cintltst/ccapitst.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/test/cintltst/ccapitst.c b/icu4c/source/test/cintltst/ccapitst.c index 2d0a1160b3..d117b1fa95 100644 --- a/icu4c/source/test/cintltst/ccapitst.c +++ b/icu4c/source/test/cintltst/ccapitst.c @@ -715,8 +715,8 @@ static void TestConvert() disnamelen = ucnv_getDisplayName(myConverter, locale, displayname, len, &err); if(err==U_BUFFER_OVERFLOW_ERROR) { err=U_ZERO_ERROR; - displayname=(UChar*)malloc(disnamelen+1 * sizeof(UChar)); - //ucnv_getDisplayName(myConverter,locale,displayname,disnamelen+1, &err); + displayname=(UChar*)malloc((disnamelen+1) * sizeof(UChar)); + ucnv_getDisplayName(myConverter,locale,displayname,disnamelen+1, &err); if(U_FAILURE(err)) { log_err("getDisplayName failed. The error is %s\n", myErrorName(err)); }