aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-17 20:15:49 +0100
committerMattias Andrée <maandree@kth.se>2023-01-17 20:15:49 +0100
commitd2a10b7965307d32f120f4b7cfc5a12c90e8a8f3 (patch)
tree9137b5d9bd4d91a9d6aac112850adcf6db106efd
parentm (diff)
downloadlibfonts-d2a10b7965307d32f120f4b7cfc5a12c90e8a8f3.tar.gz
libfonts-d2a10b7965307d32f120f4b7cfc5a12c90e8a8f3.tar.bz2
libfonts-d2a10b7965307d32f120f4b7cfc5a12c90e8a8f3.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--libfonts_do_decoded_font_descriptions_match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfonts_do_decoded_font_descriptions_match.c b/libfonts_do_decoded_font_descriptions_match.c
index 50d5c3c..59c38d2 100644
--- a/libfonts_do_decoded_font_descriptions_match.c
+++ b/libfonts_do_decoded_font_descriptions_match.c
@@ -64,7 +64,7 @@ super(const char *desc, const char *spec)
return 0;
spec = read_uint32(&sl, spec);
if (spec[0] == '-' && isdigit(spec[1]))
- spec = read_uint32(&sh, spec);
+ spec = read_uint32(&sh, &spec[1]);
else
sh = sl;
if (*spec) {