From eac56d17c40cc44a5c6875e5c9b6a5b1e6eb3cc0 Mon Sep 17 00:00:00 2001 From: Deborah Goldsmith Date: Fri, 5 May 2006 01:01:36 +0000 Subject: [PATCH] ICU-4985 Fix another problem with test in debug mode X-SVN-Rev: 19610 --- icu4c/source/test/intltest/numrgts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/test/intltest/numrgts.cpp b/icu4c/source/test/intltest/numrgts.cpp index 9de3b294799..af64e2a3817 100644 --- a/icu4c/source/test/intltest/numrgts.cpp +++ b/icu4c/source/test/intltest/numrgts.cpp @@ -1687,8 +1687,8 @@ void NumberFormatRegressionTest::Test4122840(void) // Get the currency (if there is one) so we can set the rounding and fraction const UChar *currency = fmt1->getCurrency(); if (*currency != 0) { - double rounding = ucurr_getRoundingIncrement(fmt1->getCurrency(), &status); - int32_t frac = ucurr_getDefaultFractionDigits(fmt1->getCurrency(), &status); + double rounding = ucurr_getRoundingIncrement(currency, &status); + int32_t frac = ucurr_getDefaultFractionDigits(currency, &status); if (U_SUCCESS(status)) { fmt2->setRoundingIncrement(rounding); fmt2->setMinimumFractionDigits(frac);