aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-17 20:15:24 +0100
committerMattias Andrée <maandree@kth.se>2023-01-17 20:15:24 +0100
commit5b6ff858eb6a9677ec9866591a5de5fc07e2bd23 (patch)
tree50a3270de50d6b1ba57c44b5999f70bfdb8b87fd
parentlibfonts_do_decoded_font_descriptions_match: check charset subset coverage (diff)
downloadlibfonts-5b6ff858eb6a9677ec9866591a5de5fc07e2bd23.tar.gz
libfonts-5b6ff858eb6a9677ec9866591a5de5fc07e2bd23.tar.bz2
libfonts-5b6ff858eb6a9677ec9866591a5de5fc07e2bd23.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 a6b0fb9..50d5c3c 100644
--- a/libfonts_do_decoded_font_descriptions_match.c
+++ b/libfonts_do_decoded_font_descriptions_match.c
@@ -48,7 +48,7 @@ super(const char *desc, const char *spec)
return 0;
desc = read_uint32(&dl, desc);
if (desc[0] == '-' && isdigit(desc[1]))
- desc = read_uint32(&dh, desc);
+ desc = read_uint32(&dh, &desc[1]);
else
dh = dl;
if (*desc) {