From 37783463a5f6531f323590f244879d7f64df627c Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Wed, 19 Sep 2001 18:53:51 +0000 Subject: [PATCH] ICU-1109 Extract with the proper length of the string X-SVN-Rev: 5822 --- icu4c/source/i18n/umsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/i18n/umsg.cpp b/icu4c/source/i18n/umsg.cpp index cdcb9bfd9b..194b80afcc 100644 --- a/icu4c/source/i18n/umsg.cpp +++ b/icu4c/source/i18n/umsg.cpp @@ -825,7 +825,7 @@ umsg_vformat( UMessageFormat *fmt, return -1; } - return resultStr.extract(result, resultStr.length(), *status); + return resultStr.extract(result, resultLength, *status); } U_CAPI void