]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/io/locbund.c
ICU-461.18.tar.gz
[apple/icu.git] / icuSources / io / locbund.c
index fd4935842a3e5ba1e7e4da4d4bf0e124af70fdff..1859999b158303343af36fd47d9c422f7654f548 100644 (file)
@@ -1,7 +1,7 @@
 /*
 *******************************************************************************
 *
-*   Copyright (C) 1998-2006, International Business Machines
+*   Copyright (C) 1998-2007, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *
 *******************************************************************************
@@ -162,7 +162,7 @@ UNumberFormat*
 u_locbund_getNumberFormat(ULocaleBundle *bundle, UNumberFormatStyle style)
 {
     UNumberFormat *formatAlias = NULL;
-    if (style >= UNUM_IGNORE) {
+    if (style > UNUM_IGNORE) {
         formatAlias = bundle->fNumberFormat[style-1];
         if (formatAlias == NULL) {
             if (bundle->isInvariantLocale) {