summaryrefslogtreecommitdiff
path: root/pango/pangoatsui-fontmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pangoatsui-fontmap.c')
-rw-r--r--pango/pangoatsui-fontmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangoatsui-fontmap.c b/pango/pangoatsui-fontmap.c
index c69fe005..52662978 100644
--- a/pango/pangoatsui-fontmap.c
+++ b/pango/pangoatsui-fontmap.c
@@ -545,7 +545,7 @@ pango_atsui_font_map_load_font (PangoFontMap *fontmap,
size = pango_font_description_get_size (description);
- if (size <= 0)
+ if (size < 0)
return NULL;
name = g_utf8_casefold (pango_font_description_get_family (description), -1);