aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {