aboutsummaryrefslogtreecommitdiff
path: root/locale/programs/charmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/charmap.c')
-rw-r--r--locale/programs/charmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/charmap.c b/locale/programs/charmap.c
index 35a6987fbc..7c013b24c3 100644
--- a/locale/programs/charmap.c
+++ b/locale/programs/charmap.c
@@ -1042,7 +1042,7 @@ hexadecimal range format should use only capital characters"));
char *endp;
errno = 0;
- newp->ucs4 = strtoul (name_end, &endp, 16);
+ newp->ucs4 = strtoul (name_end + 1, &endp, 16);
if (endp - name_end != len1
|| (newp->ucs4 == ULONG_MAX && errno == ERANGE)
|| newp->ucs4 >= 0x80000000)