diff options
author | Mattias Andrée <maandree@kth.se> | 2023-01-21 14:32:53 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-01-21 14:32:53 +0100 |
commit | 450b2fe79521550175117d6c1058f2d4a57f1ddb (patch) | |
tree | 6f6f285707f878b1ca1cfa7ca6735f4462d7ef61 | |
parent | libfonts_parse_encoding_line: add support for octal and hexadecimal (diff) | |
download | libfonts-450b2fe79521550175117d6c1058f2d4a57f1ddb.tar.gz libfonts-450b2fe79521550175117d6c1058f2d4a57f1ddb.tar.bz2 libfonts-450b2fe79521550175117d6c1058f2d4a57f1ddb.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libfonts_parse_encoding_line.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libfonts_parse_encoding_line.c b/libfonts_parse_encoding_line.c index 07b6a85..6750b1e 100644 --- a/libfonts_parse_encoding_line.c +++ b/libfonts_parse_encoding_line.c @@ -57,7 +57,7 @@ get_uints(uintmax_t *u1p, uintmax_t *u2p, uintmax_t *u3p, uintmax_t max, int r = 0; uintmax_t u, *up, digit; - while (r < INT_MAX && isdigit(*s)) { + while (r < INT_MAX) { u = 0; if (s[0] == '0' && (s[1] == 'x' || s[1] == 'X') && isxdigit(s[2])) { |