From d2a10b7965307d32f120f4b7cfc5a12c90e8a8f3 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 17 Jan 2023 20:15:49 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libfonts_do_decoded_font_descriptions_match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3-70-g09d2