aboutsummaryrefslogtreecommitdiffstats
path: root/libfonts_do_decoded_font_descriptions_match.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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) {