aboutsummaryrefslogtreecommitdiff
path: root/locale/programs/ld-ctype.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/ld-ctype.c')
-rw-r--r--locale/programs/ld-ctype.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
index 6273663933..a379b23ab9 100644
--- a/locale/programs/ld-ctype.c
+++ b/locale/programs/ld-ctype.c
@@ -2848,8 +2848,7 @@ character `%s' not defined while needed as default value"),
for (cnt = 0; cnt < 256; ++cnt)
if (ctype->map256_collection[0][cnt] != 0)
- ctype->map_collection[1][ctype->map_collection[0][cnt]]
- = ctype->charnames[cnt];
+ ctype->map256_collection[1][ctype->map256_collection[0][cnt]] = cnt;
}
if (ctype->outdigits_act == 0)