From: Peter Edberg Date: Sat, 26 Jan 2013 00:15:50 +0000 (+0000) Subject: ICU-9857 Adjust for CLDR calendar move to top of element (C) X-Git-Tag: milestone-59-0-1~3198 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db42f0dc6ec5dc99ff7da8313566612c06dc724f;p=icu ICU-9857 Adjust for CLDR calendar move to top of element (C) X-SVN-Rev: 33076 --- diff --git a/icu4c/source/i18n/dtptngen.cpp b/icu4c/source/i18n/dtptngen.cpp index 3cbfb195356..8d9646def11 100644 --- a/icu4c/source/i18n/dtptngen.cpp +++ b/icu4c/source/i18n/dtptngen.cpp @@ -1,6 +1,6 @@ /* ******************************************************************************* -* Copyright (C) 2007-2012, International Business Machines Corporation and +* Copyright (C) 2007-2013, International Business Machines Corporation and * others. All Rights Reserved. ******************************************************************************* * @@ -589,7 +589,7 @@ DateTimePatternGenerator::addCLDRData(const Locale& locale, UErrorCode& err) { key=NULL; err = U_ZERO_ERROR; - fBundle = ures_getByKeyWithFallback(calTypeBundle, DT_DateTimeFieldsTag, NULL, &err); + fBundle = ures_getByKeyWithFallback(rb, DT_DateTimeFieldsTag, NULL, &err); for (i=0; i