X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b25be06635768807f8f693286fa73bb2297bb06c..4388f060552cc537e71e957d32f35e9d75a61233:/icuSources/i18n/zrule.cpp diff --git a/icuSources/i18n/zrule.cpp b/icuSources/i18n/zrule.cpp index 82c31169..7b584c3d 100644 --- a/icuSources/i18n/zrule.cpp +++ b/icuSources/i18n/zrule.cpp @@ -1,7 +1,7 @@ /* ******************************************************************************* -* Copyright (C) 2009-2010, International Business Machines Corporation and * -* others. All Rights Reserved. * +* Copyright (C) 2009-2011, International Business Machines Corporation and +* others. All Rights Reserved. ******************************************************************************* */ @@ -68,7 +68,7 @@ zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2) { U_CAPI IZRule* U_EXPORT2 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings) { UnicodeString s(nameLength==-1, name, nameLength); - return (IZRule*) new InitialTimeZoneRule(name, rawOffset, dstSavings); + return (IZRule*) new InitialTimeZoneRule(s, rawOffset, dstSavings); } U_CAPI void U_EXPORT2