diff options
author | Elliot Lee <sopwith@redhat.com> | 2000-06-19 17:15:45 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 2000-06-19 17:15:45 +0000 |
commit | e2dc9e117648e267953d7318bd3e0093cd5ab234 (patch) | |
tree | 4a582a231b2efca221ec86cf80e12dc7451e99d3 /pango/fonts.c | |
parent | b9aaea84c9092c83906676aa97d8a7ea89a51f36 (diff) | |
download | pango-e2dc9e117648e267953d7318bd3e0093cd5ab234.tar.gz |
g_strcasecmp returns 0 when strings are equal - negate return value.
2000-06-11 Elliot Lee <sopwith@redhat.com>
* pango/fonts.c (pango_font_description_compare): g_strcasecmp returns 0 when strings are equal - negate return value.
2000-06-09 Elliot Lee <sopwith@redhat.com>
* pango/pango-coverage.[ch]: Return 'coverage' from pango_coverage_ref.
2000-06-08 Elliot Lee <sopwith@redhat.com>
* pango/Makefile.am: Add DOTMODULESDIR define to make it easier to change location of .modules files.
* pango/modules.c: Make use of aforesaid define. Also scan the
DOTMODULESDIR directory for multiple config files instead of
just pango.modules.
Also fclose() opened files.
Diffstat (limited to 'pango/fonts.c')
-rw-r--r-- | pango/fonts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/fonts.c b/pango/fonts.c index 70650225..aedecad7 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -70,7 +70,7 @@ pango_font_description_compare (const PangoFontDescription *desc1, desc1->weight == desc2->weight && desc1->stretch == desc2->stretch && desc1->size == desc2->size && - g_strcasecmp (desc1->family_name, desc2->family_name)); + !g_strcasecmp (desc1->family_name, desc2->family_name)); } /** |