aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-10 21:27:25 +0100
committerMattias Andrée <maandree@kth.se>2023-01-10 21:27:25 +0100
commit0831550f6447905c0e9e87001b4bf8260e41e3f4 (patch)
tree656d2fbddd6341357afabcc9e739d66c4cfff2de
parentMatch scaleable fonts with specific sizes and resolutions (diff)
downloadlibfonts-0831550f6447905c0e9e87001b4bf8260e41e3f4.tar.gz
libfonts-0831550f6447905c0e9e87001b4bf8260e41e3f4.tar.bz2
libfonts-0831550f6447905c0e9e87001b4bf8260e41e3f4.tar.xz
Fix previous commit
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--libfonts_do_decoded_font_descriptions_match.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libfonts_do_decoded_font_descriptions_match.c b/libfonts_do_decoded_font_descriptions_match.c
index 483409b..776ca4f 100644
--- a/libfonts_do_decoded_font_descriptions_match.c
+++ b/libfonts_do_decoded_font_descriptions_match.c
@@ -31,8 +31,6 @@ equal(const char *desc, const char *spec)
return !desc;
if (spec[0] == '*' && !spec[1])
return 1;
- if (desc[0] == '0' && !desc[1])
- return 1;
if (!desc)
return 0;