]> granicus.if.org Git - icu/commitdiff
ICU-9296 fix docs to U_UNSUPPORTED_ERROR as error type for unum_applyPattern
authorSteven R. Loomis <srl@icu-project.org>
Thu, 27 Sep 2012 16:46:30 +0000 (16:46 +0000)
committerSteven R. Loomis <srl@icu-project.org>
Thu, 27 Sep 2012 16:46:30 +0000 (16:46 +0000)
X-SVN-Rev: 32435

icu4c/source/i18n/unicode/unum.h

index d26719797f9b07dc4e7c12f330f250a7adef212f..c1dacefad0ce99c3867bf84dcc82e6dcb467d108 100644 (file)
@@ -667,7 +667,7 @@ unum_parseDoubleCurrency(const UNumberFormat* fmt,
 
 /**
  * Set the pattern used by a UNumberFormat.  This can only be used
- * on a DecimalFormat, other formats return U_ILLEGAL_ARGUMENT_ERROR
+ * on a DecimalFormat, other formats return U_UNSUPPORTED_ERROR
  * in the status.
  * @param format The formatter to set.
  * @param localized TRUE if the pattern is localized, FALSE otherwise.
@@ -899,7 +899,7 @@ typedef enum UNumberFormatTextAttribute {
 /**
 * Get a text attribute associated with a UNumberFormat.
 * An example of a text attribute is the suffix for positive numbers.  If the formatter
-* does not understand the attributre, U_UNSUPPORTED_ERROR is returned as the status.
+* does not understand the attribute, U_UNSUPPORTED_ERROR is returned as the status.
 * Rule-based formatters only understand UNUM_DEFAULT_RULESET and UNUM_PUBLIC_RULESETS.
 * @param fmt The formatter to query.
 * @param tag The attribute to query; one of UNUM_POSITIVE_PREFIX, UNUM_POSITIVE_SUFFIX,