about summary refs log tree commit diff
path: root/locale/duplocale.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/duplocale.c')
-rw-r--r--locale/duplocale.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/locale/duplocale.c b/locale/duplocale.c
index 3fc46ba738..efbacbb724 100644
--- a/locale/duplocale.c
+++ b/locale/duplocale.c
@@ -49,12 +49,12 @@ __duplocale (__locale_t dataset)
 	    if (result->__locales[cnt]->usage_count < MAX_USAGE_COUNT)
 	      ++result->__locales[cnt]->usage_count;
 	  }
-    }
 
-  /* Update the special members.  */
-  result->__ctype_b = dataset->__ctype_b;
-  result->__ctype_tolower = dataset->__ctype_tolower;
-  result->__ctype_toupper = dataset->__ctype_toupper;
+      /* Update the special members.  */
+      result->__ctype_b = dataset->__ctype_b;
+      result->__ctype_tolower = dataset->__ctype_tolower;
+      result->__ctype_toupper = dataset->__ctype_toupper;
+    }
 
   /* It's done.  */
   __libc_lock_unlock (__libc_setlocale_lock);