diff options
Diffstat (limited to 'locale/duplocale.c')
-rw-r--r-- | locale/duplocale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/duplocale.c b/locale/duplocale.c index b3aa4af68c..2dcc0f5b02 100644 --- a/locale/duplocale.c +++ b/locale/duplocale.c @@ -45,7 +45,7 @@ __duplocale (__locale_t dataset) for (cnt = 0; cnt < LC_ALL; ++cnt) { result->__locales[cnt] = dataset->__locales[cnt]; - if (result->__locales[cnt]->usage_count != MAX_USAGE_COUNT) + if (result->__locales[cnt]->usage_count < MAX_USAGE_COUNT) ++result->__locales[cnt]->usage_count; } } |